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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Power Apps Portal Acce...
Power Pages
Unanswered

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.

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    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 

  • VIDIT Profile Picture
    666 on at

    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.

  • Verified answer
    Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    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

    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 !!

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard