Showing results for 
Search instead for 
Did you mean: 
Kudo Kingpin
Kudo Kingpin

Microsoft PowerApp Portal - Give access to PowerApps Portal users for cases based on the Parent Account

Hello All,


The requirement is to give access to the users who can read, write and delete Cases as below.


> Display the cases of the all children accounts of logged-in contacts.accounts.parent-account.
> Logged In Contact.Account.ParentAccount == Case.Account  


For Example:
> Account A1 is parent account for Contact C1
> The A1 Account has Parent Account i.e. PA1
> Account A2 is child account of PA1


Based on the above scenario, I want to list cases related to accounts PA1, A1, and A2.


Any help will be appreciated.


Thank you


Have you tried setting up the required Entity Permissions using a combination of Account and Parent Scope?


Setup an Entity Permission on Account, using Account Scope and use the Parent Account Relationship.  Then create another permission using Parent Scope (on Account) and use the Child Account Relationship.  In theory this should give you access to both layers of accounts.


Then of course you need the Entity Permission on Cases, using Parent Scope on the Account to Case Relationship.


Haven't tried it myself, but that might work.



Community Support
Community Support


Could you try to set the Filter Conditions of Entity list in Portal Management?



Thanks for the help, Nick.
Yes, I have tried setting-up Entity Permissions using Account and Parent Scope, but it does not work for me. I have setup Entity Permissions as below. As you suggested about Parent Account Relationship and Child Account Relationship, In my scenario there is only one relationship as specified below:
Scope: Account
Scope: Parent
ParentEntityPermission: AccountEntityPermission1
Scope: Parent 
ParentEntityPermission: AccountEntityPermission2
Note: The below image shows the relationship of MasterParentAccount, ParentAccounts, and ChildAccounts(PFA). The ParentAccount1 Account is selected in the Account lookup on the logged-in Contact record.
                  Account Hierarchy.PNG
The above EntityPermission setup lists only ParentAccount1 Accounts Cases.
When I have changed CaseEntityPermission as below then the cases of ParentAccount1, ChildAccount1, and ChildAccount2 are accessible. 
ParentEntityPermission: AccountEntityPermission1
I want to access cases of accounts of MasterParentAccount Hierarchy. Is this possible in Power Apps Portals?
Thank you

Thanks for the help, Sik.

Yes, I have tried Filter Conditions on Case Entity List, but that does not work for me.


When selecting account lookup in Account Attribute then it will filtered case records based on selected account lookup field of the case. But I want to filter cases based on Parent Account of logged-in Contacts Accounts.


Thank you

Kudo Collector
Kudo Collector

Did you manage to resolve this, as I have the same issue? I want to be able to show parent and child account related records to a user if the contact is related to the parent account. 


Many thanks

Helpful resources

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel News & Announcements 768460.png

What's New in the Community?

Check out the latest News & Events in the community!

MPP IDEAS updated 768x460.png


Discover ideas and concepts from users like you for how to use Power Pages and take your work to the next level.

Top Solution Authors
Users online (1,980)