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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (1,719)