Skip to content

2. Conditional Access (CA)

Ways of working

First decision point - how are we going to do this? Questions to help you determine this are:

  1. Is it small or a large Tenancy?
  2. Do we want to avoid CAB approval process for a PoC?
  3. Need it done right now to address a strategic problem?
  4. Do we want to go fast, or take our time?
  5. If you are a Partner or MSSP please choose the "As-Code" method

Result:

  • Fast and quick - start with telemetry below and do it on the fly using the 14 default Policies in ReportOnly Mode, iterate from there... View 14 x CA Policy Templates
  • Larger implmentations - please take the time to review the process below to enable via "CA-as-Code" as the ROI is well worth it - especially if doing it for more than one customer or tenant 😉

Enable Telemetry

NOTE: please be aware there is no inherent "BLOCK" by default

You need to make sure you are BLOCKING by default unless explicitly allowing access - walk thru the 14 default Policies to better understand this. To make sure that you are fully covered please use this PowerBI based tool https://github.com/AzureAD/AzureADAssessment Confirm your maturity based on this Tool ^^

Alternative way to check CA policies

https://idpowertoys.com/ Use the "CA Documentor" link on the left & click on "Manual Generation" to be able to submit via JSON if you are concerned about the level of permissions required to generate as an App

Success

Awesome list of CA Policies Chad has done an exceptional piece of work here by creating a master list of 30 CA policies that can be imported/exported as needed - he's also gone and created KQL Queries to be able to track and validate each Policy - sensational work to reduce the effort and friction from our point of view. https://github.com/chadmcox/Azure_AD_Conditional_Access_Policies It might also be worth checking out his other Projects like: https://github.com/chadmcox/Active_Directory_Scripts

The Microsoft content

Automation of "CA-as-Code"

Tip

He also points out the others that have done great work in this space:

Info

One other important point -- don't get caught up trying to manage GUID's:

Validate and Test

Enable Reporting

Review and Improve as needed

  • Rerun check with AzureAD Assessment Tool

  • Possible alternative to AAD Assessment tool - CAOptics

Troubleshooting