cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ck25415
Post Patron
Post Patron

Get file content action failing due to conditional access policy

Hello,

 

Get file conent action is failing with following message

 

{
"error": {
"innerError": {
"code": "conditionalAccessPolicyEnforced"
},
"code": "accessDenied",
"message": "Due to organizational policies, you can't download these resources from this device."
}
}
 
But no conditional policies were implemented on flow actions and this issue started recently, Any idea why?
 
Thanks,
3 REPLIES 3
Brad_Groux
Community Champion
Community Champion

 

"code": "accessDenied",
"message": "Due to organizational policies, you can't download these resources from this device."

Your Office 365 administrators currently have security policies in place that do not allow the file(s) you are trying to access to be accessed from either Flow, or from the device or account you are running Flow from.

They likely have SecuredOffice 365 with Conditional Access, Microsoft Flow is one of the supported cloud applications for conditional access management. You should speak with your administrators and have them set to allow your account, IP Address, device, subnet or Flow itself. 

If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.

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!

Thanks @Brad_Groux , I have checked with my Admin initally. They dont have any policies set for flow or flow actions. I guess this is going to be one of those microsoft support tickets.

v-zhos-msft
Solution Sage
Solution Sage

Hi @ck25415 ,

Please check the data loss prevention policies of your flow.

Make sure your flow didn't violate the data loss prevention policies.

Please take a reference of the Data loss prevention (DLP) policies:

https://docs.microsoft.com/en-us/flow/prevent-data-loss

https://docs.microsoft.com/en-us/flow/introduction-to-data-groups

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

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

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,641)