Inspecting and troubleshooting which Azure Policy & Blueprint

EnterpriseArchitect 4,741 Reputation points
2022-11-23T12:12:24.253+00:00

Hi All,

I need some help inspecting and troubleshooting which Azure Policy & Blueprint applied to the specific resource group.

How to check which Azure Policy & Azure Blueprint is applied to my Resource group?
Is there any PowerShell command to do the checking?

Thank you.

Azure Blueprints
Azure Blueprints
An Azure service that provides templates for quick, repeatable creation of fully governed cloud subscriptions.
70 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
797 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. JimmySalian-2011 41,921 Reputation points
    2022-11-23T12:18:23.163+00:00

    Hi EA,

    I suggest you to explore the PS scripts here with detailed information and try to customize as per requirements. manage-assignments-ps

    Hope this helps.
    JS

    ==
    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

  2. EnterpriseArchitect 4,741 Reputation points
    2022-11-23T13:09:05.69+00:00

    OK, from this website:

    Azure Policy: https://learn.microsoft.com/en-us/powershell/module/az.resources/get-azpolicyassignment?view=azps-9.1.0#parameters
    Azure Blueprints: https://learn.microsoft.com/en-us/powershell/module/az.blueprint/get-azblueprintassignment?view=azps-9.1.0

    How can I combine the above, so that when I enter the name of the Resource Group, both Azure Policy and Blue Prints will be shown?