Azure Policy Powershell

Olusina Ilori 21 Reputation points

I'm having problem when trying to retrieve Azure policy and policy assignment information that includes Policy Name, Policy Display Name, Scope and NotScope using PowerShell but I noticed that the Get-AzPolicyAssignment cmdlet does not include those information.

So my question is How can I access does information and what limitation or potential issues would I face using Get-AzPolicyAssignment?

So far, I can get the Policy name but not all the information I need. Thank you

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
509 questions
{count} votes

Accepted answer
  1. Monalla-MSFT 6,401 Reputation points Microsoft Employee

    @olusinallori-1672 - Welcome to Microsoft Q&A and thanks for reaching out.

    There is a nested properties named Properties that contains all the above information that you are looking for.

    Below is the command


    Hope this helps. and please feel free to reach out if you have any further questions.


    If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" the same so it can be beneficial to the community.

0 additional answers

Sort by: Most helpful