Skip to content

Blue-infosec/Microsoft-Azure-AD-Conditional-Access-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Azure AD Conditional Access Validator

Conditional Access policies, at their simplest, are if-then statements. If a user wants to access a resource, they must complete an action. Conditional Access contains many settings, and they can complement each other. Misconfiguration can take place when having multiple Conditional Access policies. I created a PowerShell script for companies to validate their Conditional Access configuration.

For more information about my Microsoft Azure AD Conditional Access Validator, please check my blog post:
https://thalpius.com/2021/01/25/microsoft-azure-ad-conditional-access-validator/

Usage

Import-Module Invoke-AzureADConditionalAccessValidator.psm1

CheckLegacyAuth -Username user@thalpius.onmicrosoft.com
CheckDevicePlatforms -Username user@thalpius.onmicrosoft.com
CheckCloudApps -Username user@thalpius.onmicrosoft.com
CheckAll -Username user@thalpius.onmicrosoft.com

Screenshots

Alt text

Alt text

About

This script validates the most common Conditional Access policies in Microsoft 365.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published