I'm trying to authenticate an Azure Web App using Azure Active directory. I have taken the following steps, so far:
1- Through Azure portal, I have created an app registration in AAD, and assigned it to the web app following the instructions from here.
2- I assigned some users to my app using New-AzureADGroupAppRoleAssignment cmdlet
, and then set user assignment as a requirement, using set-AzureADServicePrincipal -AppRoleAssignmentRequired $true
This works as expected: the users who are not assigned to the app, see an "access denied" page, and the ones who are, see a prompt page for "Admin consent".
The problem is there is no links in the admin consent prompt for them to request it. I tried to follow the instructions from here, but I don't have access to the AAD through the portal. I can only do this through Powershell.
If you know of the Powershell cmdlet for setting this link (or to change the admin consent to user consent), I would be grateful if you could post it here.