cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO list

  1. I've created a data connection to a SharePoint Online site. The current status of the connection is 'Connected'.
  2. I'm in the process of creating my first Microsoft Flow to read a tweet with specific text in it and, if found, insert an item into a list on the SharePoint Online site.
  3. When I try to add the action to create the item, I receive this message:

 

"Access denied. You do not have permission to perform this action or access this resource."

 

I am a global administrator on the tenant, I am also a Site Collection administrator on the site URL I enter.

 

Is there any other configuration I have to do in order to make this work?

8 REPLIES 8
Highlighted
Advocate III
Advocate III

Re: Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO

I ran into a similar problem a few days ago. What I did was deleted all browser content, and recreated the connection under connections. Had to leave for a bit after that, but when I tried to connect later again that day it worked. Perhaps that will fix it for you as well.

Highlighted
Power Automate
Power Automate

Re: Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO

Sorry you hit this issue!

What happens is that sometimes the access token we use to access SPO on your behalf gets expired (and we run into issues renewing it).  If it happens consistently, do let know.

Highlighted
New Member

Re: Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO

I tried deleting/re-adding the connection.  I still get the same 'Access Denied' issue.

Highlighted
Power Automate
Power Automate

Re: Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO

Hi, 

You can check the status of your connection by clicking on the Avatar menu>My connections, in the top right corner. 

Can you make sure that the status is "connected". If it isn't try updating the password by clicking on the Update Password text. 

 

scratch.PNG

Highlighted
Frequent Visitor

Re: Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO

I am having the same issue. I created a new connection, and it appears to be fine.

 

I know this is an old thread, but are there any updates on a possible solution?

Highlighted
New Member

Re: Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO

I'm getting this issue:   Access to the environment 'Legacy-1e355c04-e0a4-42ed-8e2d-7351591f0ef1' is denied.

 

I think its a outlook connection issue.  

 

Does anyone have a solution?  I've cleared browsing data, and re-created connections but still getting error.

 

I'm trying to create the flow = if an email is flagged, then it creates a task in Asana.  I had this working a couple of weeks ago, but now it doesnt work.

Thanks

Highlighted
Anonymous
Not applicable

Re: Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO

I've tried using your solution of refreshing the connections and we are still getting the  Access to the environment 'Strange set of numbers here' is denied.

Highlighted
New Member

Re: Receiving 'Access Denied' when adding an action on a Microsoft Flow to insert a new item on SPO

Hello,
I'm having the same issue. I recreated all possible connections, but I still get an error.
Did anyone solve this ?

Best regards,
Nicolas

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new 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!

Users online (6,054)