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:
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?
Hello @Pepozzo
Have you checked the connection information of the action? Could you recreate the connection and test it again?
Regards,
Ferran
Hi @Pepozzo ,
The "Site Address" should be as below:
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.
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.
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.
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.
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?
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
80 | |
55 | |
55 | |
43 | |
39 |
User | Count |
---|---|
83 | |
81 | |
76 | |
64 | |
42 |