Update AzureStack.Identity.psm1

This commit is contained in:
Johnny de Jong 2017-07-20 12:51:21 +02:00 коммит произвёл GitHub
Родитель 237495436e
Коммит 7d498ed396
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -369,7 +369,7 @@ function Register-AzsWithMyDirectoryTenant {
$refreshToken = Get-AzureRmUserRefreshToken -azureEnvironment $azureEnvironment -directoryTenantId $azureStackEnvironment.AdTenant -AutomationCredential $AutomationCredential
# Initialize the Graph PowerShell module to communicate with the correct graph service
$graphEnvironment = ResolveGraphEnvironment $azureEnvironment
$graphEnvironment = Resolve-GraphEnvironment $azureEnvironment
Initialize-GraphEnvironment -Environment $graphEnvironment -DirectoryTenantId $DirectoryTenantName -RefreshToken $refreshToken
# Initialize the service principal for the Azure Stack Resource Manager application (allows us to acquire a token to ARM). If not specified, the sign-up flow must be completed via the Azure Stack portal first.
@ -455,4 +455,4 @@ Export-ModuleMember -Function @(
"Get-AzsDirectoryTenantidentifier",
"New-AzsADGraphServicePrincipal"
)
)