From 7d498ed396d2e66fad246e55b899f9004aef81a6 Mon Sep 17 00:00:00 2001 From: Johnny de Jong Date: Thu, 20 Jul 2017 12:51:21 +0200 Subject: [PATCH] Update AzureStack.Identity.psm1 --- Identity/AzureStack.Identity.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Identity/AzureStack.Identity.psm1 b/Identity/AzureStack.Identity.psm1 index 1188d6f..9c44cbc 100644 --- a/Identity/AzureStack.Identity.psm1 +++ b/Identity/AzureStack.Identity.psm1 @@ -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" -) \ No newline at end of file +)