web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint Copy action...
Power Automate
Unanswered

SharePoint Copy action returns "Access denied" error

(0) ShareShare
ReportReport
Posted on by

Hello!

 

I've a flow where I use SharePoint "Copy" action. This flow was working fine without errors, but since today my flow is returning an error.

 

The returned error is:

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
 

And this is my Copy action:

picovile.JPG

 

 

Variable "SharePointSiteName" is just a string containing a SharePoint site name without the trailing slash, so, for example a complete value of "Destination Site Address" could be:

https://mytenant.sharepoint.com/sites/mysite


Obviusly I checked permissions on both sites and I'm owner in each site, also I checked SitePages document library and I was owner even in that specific library.

 

The flow last modify was in April, so I don't know what is changed. How can I resolve this issue?

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @Pepozzo 

    Have you checked the connection information of the action? Could you recreate the connection and test it again?

    Regards,

    Ferran

  • v-alzhan-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    The "Site Address" should be as below:

    1.png

    https://mytenant.sharepoint.com/sites/mysite

    Please take a try to choose the site address from the drop down list with type above to see if your issue could be solved.

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Hi  @v-alzhan-msft ! Thanks for your reply. Your suggestion is valid only for test purpose because the site name has to be a variable. The flow is triggered from a SharePoint list item where a column value is the site name, so it changes each run. 

  • Community Power Platform Member Profile Picture
    on at

    Quick update

    I've tried to remove "Copy" action and I added another SharePoint REST call. 


    This call simply get items from a list but it doesn't work returning an access denied error. My user is owner of the site and owner of the site collection, so I can't understand why it is returning these errors. If I browse to the site with the same user I can see the site correctly.

     

    Also I've recreated the connection but it did not help.

  • v-alzhan-msft Profile Picture
    on at

    Hi @Pepozzo ,

     

    Have your problem been solved now?

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-alzhan-msft  

     

    No, my issue is still there. I tried to create new connection, and to export/re-import my flow but nothing worked. I really don't know what happened. As I said before I'm using the site collection administrator and also I'm authorized with Full Control permissions in sites created from flow, so I can't figure out how can be a permission problem.

     

    Is there some site collection feature that could cause this problem if activated? 

  • MadhavSharma Profile Picture
    3 on at

    Did anyone manage to find a solution for this problem??

  • Community Power Platform Member Profile Picture
    on at

    Just got the same error for the first time in a flow I've been running for the past 2 weeks. It seems that it is a random error in my case.

     

    Editing to say that I found why I got the error: the user running the flow didn't have the editing permission in a single item in the SharePoint list. That was it. Although the user had "total control" permission to the list, this single item was read only. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard