How to reduce refresh time of compliance state of custom policies from 24 hours to less than that?

V, Gukan 1 Reputation point

custom policies which we are creating takes 1 day to reflect the compliance state , Is there any to reduce the time or someplace where we can get the compliance state sooner.

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

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,551 Reputation points

    @V, Gukan Welcome to Microsoft Q & A Community Forum. I understand you want to trigger on demand evaluation of azure policies compliance. For this, you can use on demand evaluation scan feature of Azure Policy. An evaluation scan for a subscription or a resource group can be started with Azure CLI, Azure PowerShell, a call to the REST API.

    Azure CLI command to trigger on demand scan : az policy state trigger-scan

    For more information, refer this document.