Skip to content

Commit 069c550

Browse files
Merge pull request #82 from Azure-Samples/fix-issue-tenant-id
Fixed issue with powershell scripts not replacing tenant-id
2 parents 4997524 + 70e726d commit 069c550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-Authentication/1-sign-in/AppCreationScripts/Configure.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Function ConfigureApplications
138138
# Update config file for 'spa'
139139
$configFile = $pwd.Path + "\..\App\authConfig.js"
140140
Write-Host "Updating the sample code ($configFile)"
141-
$dictionary = @{ "Enter_the_Application_Id_Here" = $spaAadApplication.AppId;"Enter_the_Cloud_Instance_Id_Here/Enter_the_Tenant_Info_Here" = "https://login.microsoftonline.com/"+$tenantName;"Enter_the_Redirect_Uri_Here" = $spaAadApplication.ReplyUrls };
141+
$dictionary = @{ "Enter_the_Application_Id_Here" = $spaAadApplication.AppId; "Enter_the_Tenant_Info_Here" = $tenantId; "Enter_the_Redirect_Uri_Here" = $spaAadApplication.ReplyUrls };
142142
ReplaceInTextFile -configFilePath $configFile -dictionary $dictionary
143143
Write-Host ""
144144
Write-Host -ForegroundColor Green "------------------------------------------------------------------------------------------------"

0 commit comments

Comments
 (0)