report of eligible members of privileges access group using powershell commandlets

Indhumathi Subramanian 1 Reputation point
2023-01-04T18:08:07.673+00:00

Hi All,

Could you please suggest a way to pull report of eligible members of privileges access group using powershell commandlets

Thanks,
Indhu

Microsoft Entra
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Durkan 12,216 Reputation points MVP
    2023-01-04T19:24:21.977+00:00

    Hi

    here you go:

    https://learn.microsoft.com/en-us/azure/active-directory/privileged-identity-management/powershell-for-azure-ad-roles#retrieving-role-assignments

    Run this command:

    Get-AzureADMSPrivilegedRoleAssignment -ProviderId "aadRoles" -ResourceId "926d99e7-117c-4a6a-8031-0cc481e9da26" -Filter "roleDefinitionId eq '0bb54a22-a3df-4592-9dc7-9e1418f0f61c'"

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.