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 / Access is denied in Sh...
Power Automate
Unanswered

Access is denied in SharePoint move file action

(0) ShareShare
ReportReport
Posted on by 6

Hi ! 

 

I've a problem when I use SharePoint move file action between two library.

 

In my flow, I move the same file, but for a library, I've an error : Access is denied 

 

emi_sqli_0-1624004970968.png

{
  "status"400,
  "message""Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) CallStack --    at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex, Boolean allowCompleteRequest)\r\n   at Microsoft.SharePoint.Library.SPRequest.GetGroupsDataAsSafeArray(String bstrUrl, UInt32 dwGroupsScope, String bstrValue, UInt32 dwValue, UInt32& pdwColCount, UInt32& pdwRowCount, Object& pvarDataSet)\r\n   at Microsoft.SharePoint.SPGroup.InitMember()\r\n   at Microsoft.SharePoint.SPGroup..ctor(SPWeb web, SPSecurableObject scope, SPUser user, String GroupName, Object[,] arrGroupsData, UInt32 index, Int32 iByParamId, SPGroupCollectionType groupCollectionType, Nullable`1 maxFieldIndex)\r\n   at Microsoft.SharePoint.SPGroupCollection.GetByIDNoThrow(Int32 id)\r\n   at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id)\r\n   at Microsoft.SharePoint.Deployment.ExportObjectManager.AddUserGroupLookup(Int32 pid)\r\n   at Microsoft.SharePoint.Deployment.ListItemSerializer.SaveListItem(DataRow liData, String relation, String mvlRelation, SerializationInfo info, SPWeb parentWeb, ExportObjectManager objectManager)\r\n   at Microsoft.SharePoint.Deployment.ListItemSerializer.GetDataFromDataSet(Object obj, SerializationInfo info, StreamingContext context)\r\n   at Microsoft.SharePoint.Deployment.DeploymentSerializationSurrogate.GetObjectData(Object obj, SerializationInfo info, StreamingContext context)\r\n   at Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object obj, ISerializationSurrogate surrogate, String elementName, Boolean bNeedEnvelope)\r\n   at Microsoft.SharePoint.Deployment.XmlFormatter.Serialize(Stream serializationStream, Object topLevelObject)\r\n   at Microsoft.SharePoint.Deployment.SPExport.SerializeObjects()\r\n   at Microsoft.SharePoint.Deployment.SPExport.Run()\r\nclientRequestId: 0bb45dd3-ab16-4f55-b981-35111a90980b\r\nserviceRequestId: 0bb45dd3-ab16-4f55-b981-35111a90980b"
}
 
Thank you for your help
 
Emi
 
Categories:
I have the same question (0)
  • PrasadAthalye Profile Picture
    on at

    What access you have on both libraries? Are you a site owner? Also are you running flow actions using the user that has required access?

  • emi_sqli Profile Picture
    6 on at

    Hi, 

    Thank you for your answer?

     

    I'am site owner for the library when the move SP file action doesn't work : 

     

    Capture d’écran 2021-06-20 à 21.03.00.png

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard