I have a flow that I want to create a file so I add the Create File from Onedrive for Business connector.
The problem however, is that the connection it references is: shared_onedriveforbusiness rather than the name I gave it. So when I run the flow I get this error:
Request to Azure Resource Manager failed with error: '{"error":{"code":"InvokerConnectionOverrideFailed","message":"Could not find any valid connection for connection reference name 'shared_onedriveforbusiness' in APIM header."}}'.
If I create a new reference it names it shared_onedriveforbusiness-1 and I'll get the same error with the updated name.
What the heck?
How do I get it to use the correct name I gave it when creating it?
Code View from step:
{
"type": "OpenApiConnection",
"inputs": {
"parameters": {
"folderPath": "/",
"name": "This-is-making-me-mad.txt",
"body": "Test text for file"
},
"host": {
"apiId": "/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness",
"connection": "shared_onedriveforbusiness",
"operationId": "CreateFile"
}
},
"runtimeConfiguration": {
"contentTransfer": {
"transferMode": "Chunked"
}
}
}