You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log-Output "Assigning custom RBAC role to resource $RegistrationName"
@@ -1431,14 +1433,6 @@ function Get-AzureAccountInfo{
1431
1433
Tenant=$AzureContext.Tenant
1432
1434
}
1433
1435
1434
-
if (($AzureContext.Environment.name-ne'AzureChinaCloud') -and ($AzureContext.Environment.name-ne'AzureUsGovernment'))
1435
-
{
1436
-
if ($AzureContext.Environment.name-ne'AzureCloud')
1437
-
{
1438
-
Log-Throw "The provided Azure Environment is not supported for registration: $($AzureContext.Environment.name)"-CallingFunction $PSCmdlet.MyInvocation.MyCommand.Name
0 commit comments