I need to find out how many disable policies in ASC default using Rest API. PFA for Azure Console Screenshot for required data. Here my expected was disable policies are 7 in my ASC Default from my subscription
.
I need to find out how many disable policies in ASC default using Rest API. PFA for Azure Console Screenshot for required data. Here my expected was disable policies are 7 in my ASC Default from my subscription
.
Hi @ajiraj2411,
Thanks for using Microsoft Q&A !!
I am checking internally on this and get back to you.
Thanks
Saurabh
Hi @ajiraj2411,
You can try looking into Azure Policy API as this is not part of ASC REST API but I do not think any direct API can provide the information you are looking for. There are few API's available which gives you summarized data like Policy States - Summarize For Subscription Level Policy Assignment and Policy States - Summarize For Policy Set Definition but it does not gives you data you are looking for.
Also, you could look into Policy definitions for against your ASC assignment (ASC Default....).
I suggest you to please provide this as a product feedback at Azure Governance so that community can upvote and products team can include in their future release plans.
Thanks
Saurabh
Please do not forget to "Accept the answer" wherever the information provided is useful to help others in the community.
5 people are following this question.