How to run the Get-MgPrivilegedRoleAssignment successfully?

EnterpriseArchitect 5,406 Reputation points
2024-07-10T01:48:00.9866667+00:00

I got this error:

User's image

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,266 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,592 questions
Microsoft Entra Private Access
Microsoft Entra Private Access
Microsoft Entra Private Access provides secure and deep identity-aware, Zero Trust network access to all private apps and resources.
65 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,097 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 108K Reputation points MVP
    2024-07-10T06:53:40.22+00:00

    There is no such cmdlet, at least not a default one. Might be a custom function, in which case you need the relevant script/module.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.