cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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

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
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Users online (9,852)