I have had this running on an Azure App Service for a while now but it seems to have broken.
Here is my dashboard file:
$WarningPreference = “SilentlyContinue”
Import-Module .\UniversalDashboard.psm1
Set-UDLicense -License (Get-Content .\applicense.txt -Raw)
###############Login Page######################
$AuthenticationMethod = New-UDAuthenticationMethod -ResponseType ‘id_token token’ -ClientSecret ‘’ -ClientId ‘’ -Authority ‘https://login.microsoftonline.com/’ -Resource ‘https://management.azure.com/’ -PassThru -SaveTokens
#Code for Login Page
$loginpage = New-UDLoginPage -AuthenticationMethod $AuthenticationMethod -Title “”
#######################End Login Page#######################
$HomePage = . (Join-Path $PSScriptRoot “pages\home.ps1”)
$GetRbacRolesPage = . (Join-Path $PSScriptRoot “pages\rbacroles.ps1”)
$CreateRepoPage = . (Join-Path $PSScriptRoot “pages\createrepo.ps1”)
$footer = New-UDFooter
$Theme = Get-UDTheme -Name ‘Default’
Start-UDDashboard -Wait -AllowHttpForLogin -Content {
New-UDDashboard -Theme $Theme -LoginPage $loginpage -Footer $footer -Title “Cloud Team Helpdesk” -NavBarColor “#00008b” -Pages @(
$HomePage,
$GetRbacRolesPage,
$CreateRepoPage
)
}-AdminMode
Removed sensitive information
Here is the error I see in the App Service console:
I can get to the Microsoft login page but after I sign in the dashboard is just blank:
Again, this was working but stopped working. Re-deployed App service and same thing.