Skip to content

Commit

Permalink
Modified app reg checks
Browse files Browse the repository at this point in the history
  • Loading branch information
neelavarshad committed Aug 7, 2024
1 parent 450b7b2 commit cc99529
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deployment/Deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ if($LogoURLico) {
#region Create AAD App Registrations

#Record the current ADApps to reduce deployment instructions at the end
$ISLoginAppProvided = (($ADApplicationIDAdmin -ne $null -and $ADMTApplicationIDPortal -ne $null)
)
$ISLoginAppProvided = ($ADApplicationIDAdmin -ne $null -and $ADMTApplicationIDPortal -ne $null)


if($ISLoginAppProvided -eq $null){
Write-Host "🔑 Multi-Tenant App Registrations provided."
Expand Down Expand Up @@ -559,7 +559,7 @@ Remove-Item -Path script.sql
#region Present Output

Write-host "✅ If the intallation completed without error complete the folllowing checklist:"
if ($ISLoginAppProvided) { #If provided then show the user where to add the landing page in AAD, otherwise script did this already for the user.
if ($ISLoginAppProvided -ne $null) { #If provided then show the user where to add the landing page in AAD, otherwise script did this already for the user.
Write-host " 🔵 Add The following URLs to the multi-tenant Landing Page AAD App Registration in Azure Portal:"
Write-host " ➡️ https://$WebAppNamePrefix-portal.azurewebsites.net"
Write-host " ➡️ https://$WebAppNamePrefix-portal.azurewebsites.net/"
Expand Down

0 comments on commit cc99529

Please sign in to comment.