Create Service Principal
#Create Service principal | |
New-AzureRmADServicePrincipal -ApplicationId $app.ApplicationId ` | |
-DisplayName $dummyUrl ` | |
-Password $securePassword ` | |
-Scope "/subscriptions/<SUBSCRIPTION ID>" ` | |
-Role Contributor ` | |
-StartDate ([datetime]::Now) ` | |
-EndDate $([datetime]::now.AddYears(1)) -Verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment