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
Copy file name to clipboardExpand all lines: Connect/README.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,31 +70,32 @@ See the [Azure Stack Install PowerShell](https://docs.microsoft.com/en-us/azure/
70
70
71
71
AzureRM cmdlets can be targeted at multiple Azure clouds such as Azure China, Government, and Azure Stack.
72
72
73
-
To retrieve your Azure Active Directory Tenant ID (this will be a GUID value), do the following:
73
+
Connecting requires that you obtain the GUID value of your Directory Tenant. If you know the non-GUID form of the Azure Active Directory Tenant used to deploy your Azure Stack instance, you can retrieve the GUID value with the following:
74
74
75
-
First, make sure that your host is added to the list of trusted hosts:
Otherwise, your home directory can be retrieved directly from your Azure Stack deployment. This method can also be used for AD FS. First, add your host to the list of TrustedHosts:
$AadTenant = Get-AzureStackAadTenant -HostComputer <Host IP Address> -Password $Password
84
87
```
85
88
86
-
The AadTenant parameter specifies the directory that was used when deploying Azure Stack.
87
-
88
-
To target your Azure Stack instance, an AzureRM environment needs to be registered as follows. This will give you access to the administrative portal.
89
+
To target your Azure Stack instance as a tenant, an AzureRM environment needs to be registered as follows. The ARM endpoint below is the tenant default for a one-node environment.
Get-AzureRmEnvironment-Name "AzureStackAdmin"| Should Not Be $null
97
97
}
98
98
99
99
It 'User should be able to login to environment successfully created by Add-AzureStackAzureRmEnvironment' {
100
100
Write-Verbose"Aad Tenant ID is $global:AadTenantID"-Verbose
101
101
Write-Verbose"Passing credential to Login-AzureRmAccount"-Verbose
102
-
{Login-AzureRmAccount -EnvironmentName "AzureStack"-TenantId $global:AadTenantID-Credential $global:AzureStackLoginCredentials} | Should Not Throw
102
+
{Login-AzureRmAccount -EnvironmentName "AzureStackAdmin"-TenantId $global:AadTenantID-Credential $global:AzureStackLoginCredentials} | Should Not Throw
103
103
}
104
104
105
105
It 'User should be able to list resource groups successfully in connected Azure Stack' {
0 commit comments