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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SP action Extract fold...
Power Automate
Answered

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,985 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard