question

BusheyGaryA-7206 avatar image
0 Votes"
BusheyGaryA-7206 asked BusheyGaryA-7206 answered

How to create Azure AD Identity Governance using PowerShell API

I tried to follow the instructions listed at https://docs.microsoft.com/en-us/powershell/microsoftgraph/tutorial-entitlement-management?view=graph-powershell-1.0 but there are command listed, like "New-MgEntitlementManagementAccessPackageResourceRoleScope" which are not part of the SDK.

Does anyone have more up to date documentation on how to use the PowerShell Azure AD Identity Governance API?

azure-ad-identity-governance
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DavidBroggy-5270 avatar image
0 Votes"
DavidBroggy-5270 answered

Hi @BusheyGaryA-7206
That command is part of the Identity Governance powershell module.
Did you try loading that?

1.1.0


new-mgentitlementmanagementaccesspackageresourcerolescope



If this helps, please accept the solution and upvote.
Or just have an excellent day!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BusheyGaryA-7206 avatar image
0 Votes"
BusheyGaryA-7206 answered

Thank you for your reply. Yes, I did download and install the latest and greated (V 1.9.5). I also used the 'Get-Commands' command to see which functions are included and the one I listed (among others) is not. The related functions are shown below:

Invoke-MgFilterEntitlementManagementAssignmentRequest
New-MgAgreement
New-MgAgreementAcceptance
New-MgAgreementFile
New-MgAgreementFileLocalization
New-MgAgreementFileLocalizationVersion
New-MgAgreementFileVersion
New-MgEntitlementManagementAccessPackage
New-MgEntitlementManagementAccessPackageAssignmentApprovalStage
New-MgEntitlementManagementAccessPackageAssignmentPolicy
New-MgEntitlementManagementAssignment
New-MgEntitlementManagementAssignmentPolicy
New-MgEntitlementManagementAssignmentRequest
New-MgEntitlementManagementCatalog
New-MgEntitlementManagementConnectedOrganization
New-MgEntitlementManagementConnectedOrganizationExternalSponsor
New-MgEntitlementManagementConnectedOrganizationInternalSponsor
New-MgIdentityGovernanceTermOfUseAgreement
New-MgIdentityGovernanceTermOfUseAgreementAcceptance
New-MgUserAgreementAcceptanceByRef
Remove-MgAgreement

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.