Skip to content

Commit c149dd2

Browse files
Merge pull request #279 from RedBa/patch-2
Update AzureStack.Identity.psm1
2 parents 2374954 + 7d498ed commit c149dd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Identity/AzureStack.Identity.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function Register-AzsWithMyDirectoryTenant {
369369
$refreshToken = Get-AzureRmUserRefreshToken -azureEnvironment $azureEnvironment -directoryTenantId $azureStackEnvironment.AdTenant -AutomationCredential $AutomationCredential
370370

371371
# Initialize the Graph PowerShell module to communicate with the correct graph service
372-
$graphEnvironment = ResolveGraphEnvironment $azureEnvironment
372+
$graphEnvironment = Resolve-GraphEnvironment $azureEnvironment
373373
Initialize-GraphEnvironment -Environment $graphEnvironment -DirectoryTenantId $DirectoryTenantName -RefreshToken $refreshToken
374374

375375
# 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 @(
455455
"Get-AzsDirectoryTenantidentifier",
456456
"New-AzsADGraphServicePrincipal"
457457

458-
)
458+
)

0 commit comments

Comments
 (0)