Created
September 29, 2020 15:47
-
-
Save pmatthews05/ecd5df3e3d0474226651fc42eeedc5c2 to your computer and use it in GitHub Desktop.
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
#Give access | |
az rest --method post --uri 'https://management.azure.com/providers/Microsoft.Authorization/elevateAccess?api-version=2015-07-01' | |
#Remove access | |
$account = username@example.com | |
az role assignment delete --assignee $account --role 'User Access Administrator' --scope '/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment