Updated version of Get-AzureADPSPermissions
that uses the Graph Powershell SDK cmdlets. This script was originally created by @psignoret (https://gist.github.com/psignoret), which uses the old Azure AD Powershell modules.
Get-AzureADPSPermissions_graph.ps1 [-DelegatedPermissions] [-ApplicationPermissions] [[-UserProperties] <String[]>]
[[-ServicePrincipalProperties] <String[]>] [-ShowProgress] [[-PrecacheSize] <Int32>] [<CommonParameters>]
Generates a CSV report of all permissions granted to non-Microsoft enterprise apps.
.\Get-AzureADPSPermissions_graph.ps1 | Export-Csv -Path "permissions.csv" -NoTypeInformation
Get-Help .\Get-AzureADPSPermissions_graph.ps1 -detailed
Lists a quick overview of all Conditional Access Policies using the Graph API through Azure CLI.
Display all CAPs that are enabled, excluding off and report-only policies, in a table format.
.\Get-CAPOverview.ps1 | Where {$_.enabled} | format-table
Script that lists delegated and application permissions for every Enterprise App that is not a Microsoft application using the Graph API through Azure CLI.
Lists delegated and application permissions for every Enterprise App (default Microsoft applications are excluded).
.\Get-EntepriseAppsPermissions_api.ps1 | Export-Csv -Path "permissions.csv" -NoTypeInformation
Get-Help .\Get-EntepriseAppsPermissions_api.ps1 -examples