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

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (6,291)