# Azure Conditional Access Policy Summary

Azure Conditional Access Policy Summary playbook checks for the change in the Azure conditional access policy and creates a case item based on the detected change. It can also use API to create a ticket in the ticketing system based on the policy change.

1\. **Trigger:** It triggers the playbook to run in scheduled intervals of time.

2\. **API:** It uses Microsoft's Graph API to authenticate to Azure Policy.

3\. **Script:** It uses a Python script to calculate the present time and the time that is four hours behind the present time.

4\. **API:** It uses Azure's API to get access policy change logs to check for changes in the policy.

5\. **Script:** It uses a Python script to detect the change in access policy and return&#x20;

6\. **If Then:** It checks if the policy has been changed. If it's changed, it will continue the playbook. If not, it will write a case item.

**Case Item:** It writes a case item that there is no change in the access policy.

**Format:** It takes the change summary from the script block and formats it to a specific syntax.

**Case Item:** It takes the formatted change summary and writes a case item about the changed access policy.

**API:** It uses Freshdesk API to create a ticket about the change in the access policy.

**End: I**t ends the playbook.
