Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

Power Apps Portal Access Hierarchy.

(1) ShareShare
ReportReport
Posted on by 666

Hi folks, 

 

I am using a customer self service portal for case management, So my portal contacts can login and see all the cases created by them and related to the Company associated with them. 

 

Now I want to create a hierarchy among these portal contacts i.e. Global Access, Department Managers, Team Members.

 

  1. Now Global Access Users can see all cases related to the Account.
  2. Department Managers Can view cases related to the department (Managers can have Multiple Departments) and can be able to filter Departments
  3. Team members can view cases created by them self.

I have a lookup of Department on Contact and Case and a Option Set for Role on Contact. 

 

Is there a way I can achieve this (Really difficult with Web roles)

 

@OliverRodrigues 

 

Thanks & Regards

Vidit Gholam.

  • VIDIT Profile Picture
    666 on at
    Re: Power Apps Portal Access Hierarchy.

    Hi @Fubar , 

    Thank you,

     

    (/OpenIdConnect/AzureAD/) worked I was struggling with this since 3-4 days and now it works thank you.

     

    I know we can configure Azure AD Authentication but, I didn't wish to create one more Application in my Azure.

     

    Thank you !!

     

  • Verified answer
    Fubar Profile Picture
    8,006 Super User 2025 Season 1 on at
    Re: Power Apps Portal Access Hierarchy.

    I am using Azure AD (Default Button which is available) to authenticate my users but I am not able to map registering users with their existing contact in CRM, I know there is a site setting for that AllowContactsMappingWithEmail, But I am not able to configure it correctly as I am not able to figure out what protocol and provider should be. 

    ViditGholam_0-1653301988035.png

    Think the default uses .../OpenAuth/Microsoft/.... (or .../OpenIdConnect/AzureAD/...) but you can also configure it with the wizard see https://docs.microsoft.com/en-us/power-apps/maker/portals/configure/configure-oauth2-microsoft

    or open id

  • VIDIT Profile Picture
    666 on at
    Re: Power Apps Portal Access Hierarchy.

    Hi @OliverRodrigues , Thank you for your response I am trying it out using web roles but I guess I still need to a architect the hierarchy after which I will move on to the web roles. I had a few more difficulties as mentioned below : 

     

    I am using Azure AD (Default Button which is available) to authenticate my users but I am not able to map registering users with their existing contact in CRM, I know there is a site setting for that AllowContactsMappingWithEmail, But I am not able to configure it correctly as I am not able to figure out what protocol and provider should be. 

    ViditGholam_0-1653301988035.png

    Also, is it possible to set portal access for a contact manually and then they can login using the Azure AD button ? 

     

    Thank you in advance for all your help and suggestions.

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: Power Apps Portal Access Hierarchy.

    The proper way here would really be Web Roles / Table Permissions. You can then control the security within the table permissions by the contact or account, or even different lookups

    There is a bigger overhead, but this would be the secure way 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35