Showing results for 
Search instead for 
Did you mean: 
New Member

Attaching a file from OneDrive for Business in a PowerApp on mobile platform

I have a PowerApp created for multiple users in my organization to fill out job request details and then email them out appropriately. I have an attachment field on the form. It works for any files stored locally or even iCloud, but does not work when attempting to use OneDrive for Business. When I attempt to attach a file, it does ack me for my fingerprint to authenitcate, but  I get a popup saying "To protect is data, your organization manages this app. To use this app for work, sign in with your work or school account and try again".


When I try to add the connection, it asks me to choose an excel file. How do I have the app trigger logging into the current user's OneDrive? Thanks!

Community Support
Community Support

Hi @LWilcox,

Could you please share a bit more about your scenario?

Do you run the app within your Mobile device?

Further, do you want the app to trigger logging into the current user's OneDrive?

Please check if you have add a OneDrive for Business connection using your Organization account within your app.

If you want the end users to log in their own OneDrive for Business account when they run this shared app to attach a file from OneDrive for Business, please make sure they have installed OneDrive for Business app within their Mobile device, and they sign in it with their own OneDrive for Business account.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes, I run the app within my Mobile Device.


I do want the app to trigger logging into the current user's OneDrive.


When I try to add the OneDrive for Buisness connection, it only allows me to select a specific excel document for data extraction.


I want the end user to attach a file from their OneDrive Account. When I test this on my own mobile device, I get the error message attached even though I am logged into my OneDrive for Business account on my phone.

Helpful resources


Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users


We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (24,076)