Last active
April 15, 2020 18:49
-
-
Save juanesech/ff01e34cadfa15266af8469e1835755e to your computer and use it in GitHub Desktop.
Check the role assigment for a azure resource given the id and Assigment name
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-AzRoleAssignment -Scope $webAppId | where {$_.DisplayName -match "CTP-TaxtobinII-DEV" -or $_.DisplayName -match "IT-TAX_ASKTOBIN_MSP01-Team" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment