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 Apps / Authenticating Sharepo...
Power Apps
Unanswered

Authenticating Sharepoint within an App for Mobile use?

(0) ShareShare
ReportReport
Posted on by 11

Hi everyone,

 

I've encountered what appears to be a known bug within the PowerApps for Mobile platform, where Sharepoint file access is always treated anonymously rather than allowing the user to access files in Sharepoint sites they're a member of.  Our tenancy doesn't allow the creation of anonymous links, for good security reasons, and we also don't want to host files on an external platform like YouTube for governance reasons.

 

I was wondering if anyone had found a mechanism within a PowerApp to create an authenticated connection to Sharepoint?  Since we've moved a lot of our video content to ODSP from the Azure Stream service, we've lost the ability to view it in our Mobile apps, so we'd find it really helpful to be able to pull through files that we know a given user should have access to given their sharepoint credentials.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    Just make sure that you are using your Office 365 work or school account when logging in to the Power Apps client on your mobile device and you will be able to access SharePoint normally.  The problem occurs when users login to Power Apps on their mobile device using a microsoft or google account.

    20221125_170325769_iOS.png

  • PaulRoss25 Profile Picture
    11 on at

    Thanks for your help Pstork1, but I'm afraid logging out and in again hasn't really changed anything.  My files are still visible on the desktop version of my app but not on the mobile.

  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    Do you mean the files or the contents of the files?  If you are trying to open the files on the mobile device you'll need the Office app and that will need to be logged in using the Office 365 account.

  • PaulRoss25 Profile Picture
    11 on at

    Hi PStork, what I’m trying to do is pull a video from Sharepoint into the PowerApps player component at runtime.  The component doesn’t seem to be able to use the credentials of the current Powerapp user to access the file from the video link or the Sharepoint connection established in the app, so we’ve tried a workaround using a Flow to get the file’s content from the Sharepoint connection. But this doesn’t work for larger videos, so we’re trying to see if there’s some way to push a sharepoint authentication into the Powerapps for Mobile app context, so the user can access these video files.

     

    if there’s another way to feed the content through I’m all ears!

  • wsarris Profile Picture
    8 on at

    Hey PaulRoss25,

     

    Having the same issues as well - it was one of those scenarios that wasn't caught immediately, because some browsers seem to cache access via SharePoint, and maintain that for users over time. Our internal testing team had no issues accessing videos via PowerApps stored on SP, even if they had SharePoint closed at the time in their browsers, but others using Edge (which is managed by our IT), isn't caching login data after browser session has ended... resulting in the user needing SharePoint open at least once in order for the videos to load through a SharePoint Library.

     

    Kinda stuck on this as well, because from a Permissions standpoint, the files are accessible to any visitor.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard