cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ck25415
Level 8

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

Re: Get file content action failing due to conditional access policy

 

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

ck25415
Level 8

Re: Get file content action failing due to conditional access policy

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

Re: Get file content action failing due to conditional access policy

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,829)