Until last week I had a Power Automate flow that was working perfectly fine, when a file gets added to a library in SharePoint site, AI Builder extracts the information and populate another Share Point list.. Suddenly, as of a few days ago, the flow is giving errors and Share Point site does not appear in the drop down list of when a file is created trigger in Power Automate.
If I manually enter the site I get " Could not retrieve values. The dynamic invocation request failed with error: { "error": "policy_enforced", "error_description": "Due to organizational policies, you can't access these resources from this network location." }.
I tried to refresh the Share Point list connection, create a new site, list and library, create a new flow....but still the lists don't appear...
I am the administrator of the whole Power Automate environment and the flow was working perfectly fine, and it's a bit weird what caused this problem to happen
Any ideas how to resolve this issue would be greatly appreciated
Hi @JJ27 ,
I did a quick research here and apparently these policies are not set by default. I also didn't find anything about some event that could trigger a change like this.
It is possible that the policy is not enabled at all, and this is just an error from Power Automate. For testing purposes, I recommend you to open your Power Automate in an incognito window (if it works, you must clear your cache). If **bleep** still not works, confirm in you have any enabled network location policy (apparently you can do it by following these steps; I could not test it, as I'm using a developer account and it has some limitations: https://learn.microsoft.com/en-us/azure/active-directory/conditional-access/howto-conditional-access-policy-location)
Let me know if any of these approaches work!
Hi @rzaneti , I am struggling to understand why and how would a policy be activated, couldn't find much documentation about that, and I believe that it's not something that gets activated by default. The flow was running perfectly fine, but suddenly encountered the access issues with SharePoint. I am suspecting that something may have happened and triggered those policies, but I can't confirm.
Hi @JJ27 ,
I don't believe that this policy is enabled by default. Let's wait for someone else's input about it: this error is not very recurrent here in the community (and honestly, I didn't find any solved post with that).
In the worst case scenario, I recommend you to contact MS Support, as their own documentation states that this error may be caused b the policy (which in this case seems not to be enabled).
@rzaneti We don't have any network based policy in place, at least we didn't activate a policy. Unless it's something that gets activated by default, we aren't aware of any network policies in place.
Hi @JJ27 ,
Just for test purposes, if you have a network-based policy set, I recommend you to disable it. It may take some minutes for these changes to be applied. If you still have an issue even after disable the policy (or if you do not have the policy enabled), I recommend you to contact MS Support.
@rzaneti thank you for your reply. I followed the article you shared but that didn't solve the problem, when I ran the test, I got the message: Our tests didn't find any problems.
Hi @JJ27 ,
I was searching about this error and got this from Microsoft Official Docs:
To solve it, you (or your M365 Admin) eventually will need to change the network-based location policy.
Let me know if it works for you or if you need any additional help!
-------------------------------------------------------------------------
If this is the answer for your question, please mark the post as Solved.
If this answer helps you in any way, please give it a like.
David_MA
140
Super User 2025 Season 1
Michael E. Gernaey
138
Super User 2025 Season 1
stampcoin
125