Skip to content

Commit

Permalink
Updated endpoint for AzureChinaCloud and updated deployment json
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rahkuma committed May 14, 2024
1 parent 3bcc016 commit db534d5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Scripts/ScriptToSetupAzureADApplicationForAzTSUI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ $AzureEnvironmentName = ""
$AzureEnvironmentAppServiceURI = @{
"AzureCloud" = "https://{0}.azurewebsites.net";
"AzureGovernmentCloud" = "https://{0}.azurewebsites.us";
"AzureChinaCloud" = "https://{0}.azurewebsites.cn";

"AzureChinaCloud" = "https://{0}.chinacloudsites.cn";
}

# Load helper functions
Expand Down
Binary file modified TemplateFiles/DeploymentFiles.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion TemplateFiles/DeploymentFiles/AzTSSetup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ function Install-AzSKTenantSecuritySolution
elseif($AzureEnvironmentName -eq 'AzureChinaCloud')
{
$TemplateParameters.Add("FrontDoorEndpointSuffix", ".azurefd.cn")
$TemplateParameters.Add("WebAppEndpointSuffix", ".azurewebsites.cn")
$TemplateParameters.Add("WebAppEndpointSuffix", ".chinacloudsites.cn")
}
else
{
Expand Down
2 changes: 0 additions & 2 deletions TemplateFiles/DeploymentFiles/ConfigureWebUI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ $AzureEnvironmentToADAuthUrlMap = @{
"AzureCloud" = "https://login.microsoftonline.com";
"AzureGovernmentCloud" = "https://login.microsoftonline.us";
"AzureChinaCloud" = "https://login.microsoftonline.cn";

}

$AzureEnvironmentToKuduConsoleUrlMap = @{
"AzureCloud" = "https://{0}.scm.azurewebsites.net";
"AzureGovernmentCloud" = "https://{0}.scm.azurewebsites.us";
"AzureChinaCloud" = "https://{0}.scm.chinacloudsites.cn";

}

function GetAuthHeader {
Expand Down

0 comments on commit db534d5

Please sign in to comment.