Created
October 6, 2020 23:32
-
-
Save dstreefkerk/e1594c74d817e8f37cd622580adad180 to your computer and use it in GitHub Desktop.
KQL Query to retrieve from Log Analytics a list of Conditional Access policy names and IDs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SigninLogs | |
| mv-expand ConditionalAccessPolicies | |
| project DisplayName = tostring(ConditionalAccessPolicies.displayName),ID = tostring(ConditionalAccessPolicies.id) | |
| distinct ID,DisplayName | |
| order by DisplayName asc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment