How to create Azure AD Identity Governance using PowerShell API

Bushey, Gary A 1 Reputation point
2022-04-22T12:31:23.353+00:00

I tried to follow the instructions listed at https://learn.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?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,664 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. David Broggy 5,681 Reputation points MVP
    2022-04-23T02:15:48.6+00:00

    Hi @Bushey, Gary A
    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!

    0 comments No comments

  2. Bushey, Gary A 1 Reputation point
    2022-04-23T14:15:44.173+00:00

    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

    0 comments No comments