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 / Onedrive For Business ...
Power Automate
Suggested Answer

Onedrive For Business Reference Not Working--pulling my hair out

(0) ShareShare
ReportReport
Posted on by 56
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"
}
}
}
Categories:
I have the same question (0)
  • Suggested answer
    Manish Solanki Profile Picture
    15,169 Moderator on at
    Hi,
     
    Please use "OneDrive for Business" connector for one drive actions. You may change the connection reference using "Change connection reference" at the bottom of that action:
     
     
    If this reply helps & solves the problem, pls mark it as accepted solution.
     
    Thanks,
    Manish Solanki
    you tube channel: Manish Solanki - YouTube

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard