Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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
 
  • emi_sqli Profile Picture
    6 on at
    Re: Access is denied in SharePoint move file action

    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

  • PrasadAthalye Profile Picture
    on at
    Re: Access is denied in SharePoint move file action

    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?

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1