web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Azure AD login for exi...
Power Pages
Answered

Azure AD login for existing Contact record with primary email address

(0) ShareShare
ReportReport
Posted on by 6

Hi

 

I have users in Azure AD, and corresponding Contact records in Dynamics 365 with the same email address (Azure AD login matches Contact primary email address).

 

I want the Azure AD users to login to the portal, without me having to send them an invitation, or them having to register in any way; I just want them to log in using Azure AD credentials, and to be mapped to the Contact record with the same email address. Is that possible and if so what configuration is required please?

 

Thank you

Categories:
I have the same question (0)
  • Verified answer
    Fubar Profile Picture
    8,505 Super User 2026 Season 1 on at

    There is a Site Setting: 

    • Authentication/[Protocol]/[Provider]/AllowContactMappingWithEmail
    • Think its value should be set to:  true  (could also be True sometimes they are case sensitive)

    https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/configure-site-settings#portal-site-settings

    (replace [protocol] and [provider] with the appropriate values - I don't have a full example for Azure AD, but it has been answered previously think it is something like Authentication/OpenIdConnect/AzureAD/AllowContactMappingWithEmail)

  • PeteT21 Profile Picture
    6 on at

    Thank you so much for your help, that resolved the issue. I used "OpenIdConnect" as the [Protocol] and "AzureAD" as the [Provider] and "true" for the value of the setting. So, in all:

     

    Authentication/OpenIdConnect/AzureAD/AllowContactMappingWithEmail = true

     

    I also found it helpful to disable the Profile page that, by default, appears after sign-in:

     

    Authentication/Registration/ProfileRedirectEnabled = false

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 50

#1
11manish Profile Picture

11manish 50

#3
Valantis Profile Picture

Valantis 26

Last 30 days Overall leaderboard