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

Minimum Security role in CDS to provide CRUD operations to business users

Hi,

 

Am trying to create a custom security role to provide users CRUD privileges to custom entities which I have created.

 

As per the microsoft documentation, I imported the minimum security role package as mentioned in the below link

Configure user security in an environment - Power Platform | Microsoft Docs

I have provided read, write, create and delete permissions at organization level to the custom entities for the custom security role.

 

Even then the business users receive permission error to read the data from custom entities used in canvas apps.

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @subinpius4u :

I've made a same test but did not encounted the problem you mentioned:

1\Import the Dataverse minimum privilege security role solution.

2\Copy the Role and assign CRUD permissions of custom entities to the custom role

1.JPG

3\Assign this security role to my test account

4\Share the designated APP to my test account(BofCostom is the only data source in this app)

2.JPG

5\Use this test account to open the app from the mobile app or the share link.

Every thing worked well on my side.If your problem can not be solved pleaset consider creating a support ticket.

Best Regards,

Bof

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @subinpius4u :

I've made a same test but did not encounted the problem you mentioned:

1\Import the Dataverse minimum privilege security role solution.

2\Copy the Role and assign CRUD permissions of custom entities to the custom role

1.JPG

3\Assign this security role to my test account

4\Share the designated APP to my test account(BofCostom is the only data source in this app)

2.JPG

5\Use this test account to open the app from the mobile app or the share link.

Every thing worked well on my side.If your problem can not be solved pleaset consider creating a support ticket.

Best Regards,

Bof

Hi @v-bofeng-msft 

 

sorry, it was a mistake from my side where I selected only create privilege for one of the custom entity used in the app.
Its working fine now

 

Thanks.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,863)