Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.2.0 Release #2193

Merged
merged 33 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
80ed44e
Add Window to Windows rename in the breaking change doc.
peombwa Jul 12, 2023
4ef44ff
Merge branch 'dev' into po/v2UpgradeDocUpdate
peombwa Jul 13, 2023
7e60bc6
Merge pull request #2155 from microsoftgraph/po/v2UpgradeDocUpdate
peombwa Jul 13, 2023
19b21be
Bump dependency version.
peombwa Jul 13, 2023
e6d7483
Update directives.
peombwa Jul 13, 2023
59c34ca
Correct alias prefix.
peombwa Jul 13, 2023
d24ae9c
Modified import script
timayabi2020 Jul 14, 2023
412eba8
Improved script
timayabi2020 Jul 15, 2023
d26a202
Removed part that adds boiler plate code
timayabi2020 Jul 17, 2023
1469a62
Updating examples
Jul 17, 2023
c27234a
Merge branch 'dev' into WeeklyExamplesUpdate/202307170635
timayabi2020 Jul 17, 2023
8ba7fca
Merge pull request #2167 from microsoftgraph/WeeklyExamplesUpdate/202…
timayabi2020 Jul 17, 2023
ffaf990
Weekly OpenApiDocs Download.
Jul 18, 2023
b97cdc4
Fix resourceRoleScope directive.
peombwa Jul 18, 2023
1f6274e
Include prefix in alias.
peombwa Jul 18, 2023
992dbf1
Add generated MgCommandMetadata.json. [run ci]
Jul 19, 2023
a5ddc2f
Merge pull request #2172 from microsoftgraph/WeeklyApiRefresh/2023071…
timayabi2020 Jul 20, 2023
6a645a6
Updating examples
Jul 21, 2023
6b293b7
Added people admin settings tag
timayabi2020 Jul 21, 2023
336d010
Added dollar sign at the end
timayabi2020 Jul 21, 2023
9d36f2c
Transferred tag to Identity directory management
timayabi2020 Jul 21, 2023
45d02b6
Merge pull request #2179 from microsoftgraph/WeeklyExamplesUpdate/202…
timayabi2020 Jul 24, 2023
8bb3645
Merge branch 'dev' into pronounsettings_tag
timayabi2020 Jul 24, 2023
5f9a8e2
Merge pull request #2181 from microsoftgraph/pronounsettings_tag
timayabi2020 Jul 24, 2023
23ff76c
Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagemen…
microsoft-github-policy-service[bot] Jul 6, 2023
23987e4
Deleting fabricbot.json
microsoft-github-policy-service[bot] Jul 6, 2023
69c04c1
Merge pull request #2126 from microsoftgraph/onboarding-prIssueManage…
peombwa Jul 24, 2023
5ae9ac2
Weekly OpenApiDocs Download.
Jul 25, 2023
d45fa62
feat: Add environment to Get-MgContext output
peombwa Jul 25, 2023
d4766cd
Add generated MgCommandMetadata.json. [run ci]
Jul 25, 2023
94b660d
Merge pull request #2188 from microsoftgraph/WeeklyApiRefresh/2023072…
timayabi2020 Jul 26, 2023
b00a619
Merge branch 'dev' into enhancements/AddEnvironmentToContext
timayabi2020 Jul 26, 2023
8b8b027
Merge pull request #2186 from microsoftgraph/enhancements/AddEnvironm…
peombwa Jul 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,061 changes: 0 additions & 1,061 deletions .github/fabricbot.json

This file was deleted.

108 changes: 108 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
id:
name: GitOps.PullRequestIssueManagement
description: GitOps.PullRequestIssueManagement primitive
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches:
- description:
frequencies:
- hourly:
hour: 1
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
- hasLabel:
label: no-recent-activity
- noActivitySince:
days: 3
- isNotLabeledWith:
label: service bug
actions:
- closeIssue
- description:
frequencies:
- hourly:
hour: 1
filters:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
- noActivitySince:
days: 4
- isNotLabeledWith:
label: no-recent-activity
actions:
- addLabel:
label: no-recent-activity
- addReply:
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
- description:
frequencies:
- hourly:
hour: 1
filters:
- isIssue
- isOpen
- hasLabel:
label: duplicate
- noActivitySince:
days: 1
actions:
- addReply:
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
- closeIssue
eventResponderTasks:
- if:
- payloadType: Issue_Comment
- isAction:
action: Created
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
then:
- addLabel:
label: 'Needs: Attention :wave:'
- removeLabel:
label: 'Needs: Author Feedback'
description:
- if:
- payloadType: Issues
- not:
isAction:
action: Closed
- hasLabel:
label: no-recent-activity
then:
- removeLabel:
label: no-recent-activity
description:
- if:
- payloadType: Issues
- labelAdded:
label: service bug
then: []
description:
- if:
- payloadType: Issue_Comment
- activitySenderHasAssociation:
association: Contributor
- bodyContains:
pattern: '?'
isRegex: False
- bodyContains:
pattern: '@'
isRegex: False
then:
- addLabel:
label: 'Needs: Author Feedback'
description:
onFailure:
onSuccess:
6 changes: 3 additions & 3 deletions config/ModuleMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"versions": {
"authentication": {
"prerelease": "",
"version": "2.1.0"
"version": "2.2.0"
},
"beta": {
"prerelease": "",
"version": "2.1.0"
"version": "2.2.0"
},
"v1.0": {
"prerelease": "",
"version": "2.1.0"
"version": "2.2.0"
}
}
}
2 changes: 1 addition & 1 deletion config/ModulesMapping.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"Files": "^drives\\.|^shares\\.|^users.drive$|^groups.drive$",
"Financials": "^financials\\.",
"Groups": "^groups.group$|^groups.directoryObject$|^groups.conversation$|^groups.endpoint$|^groups.extension$|^groups.groupLifecyclePolicy$|^groups.resourceSpecificPermissionGrant$|^groups.profilePhoto$|^groups.conversationThread$|^groupLifecyclePolicies\\.|^users.group$|^groups.directorySetting$|^groups.Actions$|^groups.Functions$|^groupSettings\\.|^groups.groupSetting$|^groupSettingTemplates\\.",
"Identity.DirectoryManagement": "^administrativeUnits\\.|^contacts\\.|^devices\\.|^domains\\.|^directoryRoles\\.|^directoryRoleTemplates\\.|^directorySettingTemplates\\.|^settings\\.|^subscribedSkus\\.|^contracts\\.|^directory\\.|^users.scopedRoleMembership$|^organization.organization$|^organization.organizationalBranding$|^organization.organizationSettings$|^organization.Actions$|^organization.extension$|^tenantRelationships.Actions$",
"Identity.DirectoryManagement": "^administrativeUnits\\.|^contacts\\.|^devices\\.|^domains\\.|^directoryRoles\\.|^directoryRoleTemplates\\.|^directorySettingTemplates\\.|^settings\\.|^subscribedSkus\\.|^contracts\\.|^directory\\.|^users.scopedRoleMembership$|^organization.organization$|^organization.organizationalBranding$|^organization.organizationSettings$|^organization.Actions$|^organization.extension$|^tenantRelationships.Actions$|admin.peopleAdminSettings$",
"Identity.Governance": "^accessReviews\\.|^businessFlowTemplates\\.|^programs\\.|^programControls\\.|^programControlTypes\\.|^privilegedRoles\\.|^privilegedRoleAssignments\\.|^privilegedRoleAssignmentRequests\\.|^privilegedApproval\\.|^privilegedOperationEvents\\.|^privilegedAccess\\.|^agreements\\.|^users.agreementAcceptance$|^identityGovernance\\.|^roleManagement.rbacApplication$|^roleManagement.Functions$|roleManagement.Actions$",
"Identity.SignIns": "^organization.certificateBasedAuthConfiguration$|^invitations\\.|^identityProviders\\.|^oauth2PermissionGrants\\.|^identityProtection\\.|^dataPolicyOperations\\.|^identity\\.|^trustFramework\\.|^informationProtection\\.|^policies\\.|^users.authentication$|^users.informationProtection$|^policies.tokenLifetimePolicy$|^policies.tokenIssuancePolicy$|^policies.homeRealmDiscoveryPolicy$|^policies.claimsMappingPolicy$",
"Identity.Partner": "^tenantRelationships.delegatedAdminRelationship$|^tenantRelationships.delegatedAdminCustomer$",
Expand Down
8 changes: 8 additions & 0 deletions docs/upgrade-to-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ We've dropped support for `-ForceRefresh` on `Connect-MgGraph` command. `-ForceR

Directory role and entitlement management commands that were in `DeviceManagement.Enrollment` module have been moved to `Identity.Governance` to align with the [API reference](https://learn.microsoft.com/graph/api/resources/directoryrole?view=graph-rest-1.0).

### Product Name Change in Certain Command

Pluralized product names, such as Windows, were wrongly named to their singular forms (e.g., Window) in the v1 SDK. In the v2 SDK, these names have been restored to their original plural forms. Therefore, commands that used to have `Window` in their name now have `Windows` instead. For example:
| v1 SDK | v2 SDK |
| - | - |
| Get-MgDeviceManagement**Window**AutopilotDeviceIdentity | Get-MgDeviceManagement**Windows**AutopilotDeviceIdentity |
| Get-MgDeviceManagement**Window**InformationProtectionAppLearningSummary | Get-MgDeviceManagement**Windows**InformationProtectionAppLearningSummary |

## New Features and Improvements

The following new features and improvements have been added to the module in v2.
Expand Down
Loading
Loading