Last active
August 31, 2024 18:13
-
-
Save jorgeasaurus/f7adb07fa23ae896bd85c9071a22c9de to your computer and use it in GitHub Desktop.
Powershell tip: Quickly find required Microsoft Graph API permissions for a list of graph cmdlets.
This file contains hidden or 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
"Get-MgBetaUser", | |
"Get-MgBetagroup", | |
"Sync-MgBetaDeviceManagementDepOnboardingSettingWithAppleDeviceEnrollmentProgram", | |
"Get-MgBetaDeviceAppManagementMobileApp", | |
"Sync-MgBetaDeviceAppManagementVppTokenLicense", | |
"Get-MgBetaDeviceAppManagementVppToken" | % { | |
$cmdlet = $_ | |
Find-MgGraphCommand $cmdlet | select -ExpandProperty Permissions | |
} | Sort-Object Name -Unique |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment