web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Attaching a file from ...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 2

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!

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    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,

  • LWilcox Profile Picture
    2 on at

    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.

  • Acruz5 Profile Picture
    69 on at

    @LWilcox Were you ever able to figure it out? I have the same scenario.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard