cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dwalzak
Regular Visitor

Crm instance does not have security roles defined for you.

I am getting this error when pulling data from Dynamics 365. Is there a solution to this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
ScottRiddle
Regular Visitor

Re: Crm instance does not have security roles defined for you.

I am able to reproduce the issue. 

 

I removed all security roles from my account except for one to test with.

 

With Org Level Access Read to Opportunity

Flow fires correctly on Update of an Opportunity

 

Any other permission level (User Level) for Read to Opportunity

Flow fails with the 'Crm instance does not have security roles defined for you.'  I have permission to the record i updated via the CRM UI but Flow fails with the security error above.

 

It appears though without Org Level read access to the record type you want Flow to trigger on, Flow will fail.

 

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: Crm instance does not have security roles defined for you.

Hi @dwalzak,

 

Could you please share the detailed error message?

Is it the same as mentioned in the thread below?

https://powerusers.microsoft.com/t5/Connecting-To-Data/Crm-instance-does-not-have-security-roles-def...

 

Please share more details about when this error occurred, with which action, better a screenshot.

Just from the error message, I think you may need to verify the security roles for your account at the Dynamics 365 side.

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ScottRiddle
Regular Visitor

Re: Crm instance does not have security roles defined for you.

I am able to reproduce the issue. 

 

I removed all security roles from my account except for one to test with.

 

With Org Level Access Read to Opportunity

Flow fires correctly on Update of an Opportunity

 

Any other permission level (User Level) for Read to Opportunity

Flow fails with the 'Crm instance does not have security roles defined for you.'  I have permission to the record i updated via the CRM UI but Flow fails with the security error above.

 

It appears though without Org Level read access to the record type you want Flow to trigger on, Flow will fail.

 

View solution in original post

Helpful resources

Announcements
Did you attend MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’ve streamed the digital event live, or you're watching on-demand, claim your attendee badge to sport on your profile.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (6,191)