cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Simmo86
Helper II
Helper II

Sharing App and Permissions

Morning all,

 

I have built a really simple app off the common data service but when I share the app, the users get the following when they try and use it.

 

You don't have permission to view this data. Server Response: Principal user (Id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, type=8, roleCount=2, privilegeCount=490, accessMode=0, is missing prvReadcr2f5_SurreyBusinessExpo privilege (Id=xxxxxxxxxxxxxxxxxxxxxxxxx) on OTC=10015. context.Caller=xxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

I have read all the helptext on it. They are added on the environment and their roles are added when i share with them through the app but no luck!

 

Please can someone help?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hey @Simmo86 

 

I am hoping that you have not made any customisations on the entity security roles. Can you go to the advanced settings and in the security roles' Custom entities, check if this entity has a read access at the Organisational level? 

Please refer to the screenshot:Picture1.png

Is this error popping up only to the user Gemma?

 

I would also suggest to first log out of the current session and close the browser window. Start a fresh session and run the app again and check if the same issues is there. 

 

Hope this Helps!

View solution in original post

4 REPLIES 4
yashag2255
Dual Super User II
Dual Super User II

hi @Simmo86 

 

Have you created the security roles as in the below screenshot and assigned the app the security roles and added the users to that role?kkk.png

 

kjk.png

If you click on Myapps in the 3rd point of 1st screesnhot you will be taken to the screen as shown in the second screenshot. Click on the ellipses of your model driven app and click manage roles and add the role to the app. 

 

All the users added to that role will automaticlly be added then, 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

Thank you so much for your swift reply as this app is due to be used on Monday! 

 

The app I have is a canvas app however. I only have one environment. The entity as shown below is set to 'Organisational' ownership.  

 

Capture.PNG

 

Then in the environment, I click manage users and have checked the permission of the user I am trialling with 'Gemma'....

 

Capture1.PNG

 

Then when I share the app, you will see that it says the whole organisation anyway, but specifically, the user 'Gemma' has the same permissions as shown above:

 

Capture2.PNG

 

But when she tries to use the app, she gets:

 

Capture3.PNG

 

Does that help? Do you have any ideas?

 

Thanks,

 

Alex

yashag2255
Dual Super User II
Dual Super User II

Hey @Simmo86 

 

I am hoping that you have not made any customisations on the entity security roles. Can you go to the advanced settings and in the security roles' Custom entities, check if this entity has a read access at the Organisational level? 

Please refer to the screenshot:Picture1.png

Is this error popping up only to the user Gemma?

 

I would also suggest to first log out of the current session and close the browser window. Start a fresh session and run the app again and check if the same issues is there. 

 

Hope this Helps!

View solution in original post

OMG, thank you so much!! This was the setting.....

 

Capture.PNG

 

I have turned Read, Write and Edit to Organisation and it works!!!

 

Thank you so much for your help!!!!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,414)