We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa50245 commit f0c0309Copy full SHA for f0c0309
Registration/RegisterWithAzure.psm1
@@ -1340,7 +1340,7 @@ function Get-AzureAccountInfo{
1340
Tenant = $AzureContext.Tenant
1341
}
1342
1343
- if (($AzureContext.Environment.name -ne 'AzureChinaCloud') -or ($AzureContext.Environment.name -ne 'AzureUsGovernment'))
+ if (($AzureContext.Environment.name -ne 'AzureChinaCloud') -and ($AzureContext.Environment.name -ne 'AzureUsGovernment'))
1344
{
1345
if ($AzureContext.Environment.name -ne 'AzureCloud')
1346
0 commit comments