Created
February 3, 2020 16:59
-
-
Save kpatnayakuni/085f165dc0f445fd04ed0b1d40a7772d 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
# Install and Import the module | |
$moduleName = 'Az.ManagedServiceIdentity' | |
Install-Module -Name $moduleName -Force | |
Import-Module -Name $moduleName | |
# Create User Assugned Managed Identity | |
$identityName = 'amuai' | |
$identity = New-AzUserAssignedIdentity -Name $identityName ` | |
-ResourceGroupName $rgName -Location $location |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment