skip to Main Content

Remove Role assignment using powershell in azure

when im trying to remove role assignment for a storage account using azure automation account Remove-AzRoleAssignment -SignInName "[email protected]" -RoleDefinitionName "Storage File Data SMB Share Contributor" -Scope "/subscriptions/000-8888-7777/resourceGroups/$resourcegroup/providers/Microsoft.Storage/storageAccounts/$storageaccount" using above command getting Cannot find principle using specified options

VIEW QUESTION
Back To Top
Search