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 / How to add Azure AD us...
Power Pages
Answered

How to add Azure AD user to Power Pages Portal

(0) ShareShare
ReportReport
Posted on by 89

Hi Team,

I have a Power Pages Portal created. I assume, by default, only the user who created the portal will have access to the site. I want to allow the site only to the users(Azure AD users) who have access. 

 

Please let me know the process to add a Azure AD user to the portal. 

 

Regards

Anjan

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,532 Most Valuable Professional on at

    Navigate to your site and select Manage Site Visibility from the Private dropdown.  In that page you will see a box where you can enter the email address of the AAD user to share the site with them.

    image.png

  • Anjan Chidige Profile Picture
    89 on at

    Thanks @Pstork1 for the response. When the user is added through your approach, will the user be a part of Admin Web Role? I would like to add Azure AD users to different Web Roles. Pls suggest

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @AnjanChidige 

     

    Please follow the instructions from @Pstork1  to add an AD user to your site. If you need to assign an admin role, then you may need to use the Portal management. 

     

    Adding official link. Please click here

     


    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Anjan Chidige Profile Picture
    89 on at

    @ragavanrajan , I have added a Azure AD user to the portal through above approach. And the user is able to access the site as well. There are few things, I would like to understand.

    1. When the user is added through above approach, can we see, which table in Dataverse, this entry is made?

    2. The record is created in Contact table, only when the user logged in into the site. This is not giving option for us to add the user to specific Web Role prior to the login. This mean, we need to wait until the user login to get the Contact record, then add to desired Web Role. But I would like to setup the users(Azure AD) with their Web Roles, before they login. Is this possible? Is there a way/Power Automate Flow available to perform this? Please suggest.

     

    Thanks

    Anjan

  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @AnjanChidige 

     

    1. When the user is added through above approach, can we see, which table in Dataverse, this entry is made?

    Answer: They can't see the contacts table but the newly added users can access portal management. Evidence below 

     

    ragavanrajan_0-1683071210666.png

     

    Note: Only the admin user or the site owner can assign an appropriate web role. Link provided in the previous reply 

     

    2. The record is created in Contact table, only when the user logged in into the site. This is not giving option for us to add the user to specific Web Role prior to the login. This mean, we need to wait until the user login to get the Contact record, then add to desired Web Role. But I would like to setup the users(Azure AD) with their Web Roles, before they login. Is this possible? Is there a way/Power Automate Flow available to perform this? Please suggest.

     

    Answer: Our current method is assigning web roles automatically via power automate once the user is logged in to the site. 

    Adding reference here: 

    https://www.inogic.com/blog/2020/02/associate-disassociate-two-entities-with-1-n-and-n-n-relationship-using-relate-unrelate-records-in-power-automate/ 

     

    Note: Currently, we allow users to select their desired web role and submit it for approval. Once the approver approved it then the power automate will trigger. 

     


    Hope this will give you high level idea of how to achieve your requirement. Have fun! 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Anjan Chidige Profile Picture
    89 on at

    Thanks @ragavanrajan . 

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 41

#2
omkarsupreme Profile Picture

omkarsupreme 40

#3
Valantis Profile Picture

Valantis 37

Last 30 days Overall leaderboard