Audit service principals with Microsoft Graph app role assignments #85
stianstrysse
started this conversation in
Samples
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This script fetches all service principals with Microsoft Graph and/or AAD Graph app role assignments, and any sign-in activity and ownership info for multi-tenant apps. The script is explained thoroughly at https://learningbydoing.cloud/blog/audit-ms-graph-app-role-assignments/
Make sure to edit ’$appRoleTiers‘ list according to your needs.
Requires MS Graph Powershell SDK v2 due to a beta-cmdlet, but it can be easily rewritten to support v1.
Beta Was this translation helpful? Give feedback.
All reactions