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?
Solved! Go to Solution.
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:
Best Regards,
Hi @WKU
Make sure your the connection you used for the extract folder action step has the right permissions (Destination Folder) in SharePoint.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video Tutorials
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:
Best Regards,
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
39 | |
36 | |
34 | |
32 | |
27 |
User | Count |
---|---|
43 | |
37 | |
33 | |
24 | |
22 |