Hello again!
I’m just trying to add login funcionality to my Azure App Service Dashboard, following the steps of this manual on GitHub given from @adam.
But, I couldn’t do it successfully and I will show you step by step what I done…
- Create App Registration (two pictures - two steps):
(and save OAuth 2.0 authorization endpoint (v2) and Application & Tenant ID )
- Configure UD with this code:
$AzureADParams = @{ ClientID = xxxxxxxxxxxxxxxxxxxxxxxxxx Instance = 'https://login.microsoftonline.com' Domain = 'azurewebsites.net' TenantID = xxxxxxxxxxxxxxxxxxxxxxxxxx } $AuthenticationMethod = New-UDAuthenticationMethod @AzureADParams $LoginPage = New-UDLoginPage -AuthenticationMethod $AuthenticationMethod -Title "AzureAD" $HomePage = New-UDPage -Name "Home" -Content { New-UDHeading -Text "Hello, World!" -Size 1 } $Dashboard = New-UDDashboard -Title "AZ AD" -Theme Azure -LoginPage $LoginPage -Pages @( $HomePage ) Start-UDDashboard -Dashboard $Dashboard -Wait
more BIO:
https://adamdriscoll.gitbooks.io/powershell-universal-dashboard/security/authentication/azuread.html
This is the homepage when I enter url (no login phase):
What could be my problem?
Thanks!