Skip to main content

Notifications

Power Pages - General Discussions
Suggested answer

Issue in signing into portal through Azure AD.

Like (1) ShareShare
ReportReport
Posted on 6 Aug 2024 17:47:19 by 2
Hi,
 
I developed a portal in Power pages which provides a platform to submit an enquiry form for the internal users in my organisation. I need to setup the authentication for this site using Azure AD. I have web roles for my own contact record that I created as administrator, authenticated and anonymous users. Also I registered my app in Azure portal. When I open the portal in preview mode and try to sign in through my Azure AD account, I get the following error page. Kindly let me know the settings I need to change to make the sign in work. And also how to make the power pages create a contact record automatically and assign them the web roles, when a new user sign in.
Categories:
  • Suggested answer
    Fubar Profile Picture
    Fubar 7,637 on 07 Aug 2024 at 23:56:55
    Issue in signing into portal through Azure AD.
    Note: if you are using the Authenticated and Anonymous User Web Roles by default they have a checkbox ticked on them that when checked means their Permissions will be automatically inherited by a logged in user or someone not logged in respectively (i.e. you do not need to directly assign them to users).
     
    For logging in and registering, it kind of depends on what you have turned on/off with the Authentication settings.
     
    If you have turned off Open Registration, then you will generally Create and then Send Invitations to existing Contact records (when the user redeems the invitation it will link their Azure AD to the Contact record).  The Create Invitation button is initially only available on the Portal Contact form (not the standard Contact form) on the Contact table. The Invitation has a subgrid where you can attach Web Roles.
     
    If you are only enabling Azure AD (and disabling all other identity providers including Local Login), what you can do is leave Open Registration turned On, and only your Azure AD users will be able to self register.  You can also create a Group in Azure to add a subset of users to, and then in the Application (for your Power Pages Site) in Azure restrict access to members of that group against the App (doing so, only that subset of users will be able to register).  If there are existing Contact records for your AD users there is also an additional setting on the Power Pages Identity Provider where you can turn on Email mapping when turned on if the AD Users email address matches an existing Contact records email it will link them and if no match creates a new Contact record.
     
    In the Power Pages designer you generally get some buttons etc to setup and configure, but behind the scenes it is just setting Site Settings 
    Site Settings

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,696

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,456

Leaderboard
Loading complete