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 / SP action Extract fold...
Power Automate
Unanswered

SP action Extract folder error 400

(0) ShareShare
ReportReport
Posted on by

I'm able to successfully copy a ZIP file from OneDrive to a SPO library. Then I like to extract the ZIP but this action fails and results always with an error 400.

 

{
 "inputs": {
 "host": {
 "connection": {
 "name": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline_1']['connectionId']"
 }
 },
 "method": "post",
 "path": "/datasets/@{encodeURIComponent(encodeURIComponent('https://contoso.sharepoint.com/sites/Test-RM'))}/extractFolderV2",
 "queries": {
 "source": "@body('Datei_erstellen')?['Path']",
 "destination": "/Dokumentenablage/tmp",
 "overwrite": true,
 "queryParametersSingleEncoded": true
 },
 "authentication": {
 "type": "Raw",
 "value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"
 }
 },
 "metadata": {
 "flowSystemMetadata": {
 "swaggerOperationId": "ExtractFolderV2"
 }
 }
}

 

Is this a permission issue or simply not working?

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @WKU 

     

    image.png

     

    Make sure your the connection you used for the extract folder action step has the right permissions (Destination Folder) in SharePoint.

     

    Thanks

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @WKU ,

     

    Could you provide the screenshot of the flow configuration so that we could check the error?

    Following is my test demo, maybe it can provide some reference:

    71.PNG

     

    Best Regards,

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard