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 / Power apps on iPhone s...
Power Apps
Unanswered

Power apps on iPhone switching user

(0) ShareShare
ReportReport
Posted on by 1,011
We have a crew using power apps on iPhone. Each iPhone device has the latest version of power apps from the Apple store. The phones are passed from night shift to day shift, each time the user logs out of power apps when they are finished and the next user logs in with their office 365 credentials. Occasionally, during the shift, the app will suddenly switch the current user back to a previous user. This started happening more and more and is becoming a big problem because the tasks are assigned based on the current login user and now users are getting tasks assigned to other users.I'm not sure if this is an iPhone issue or something that others have experienced? Any insight would be very helpful, thanks!
Categories:
I have the same question (0)
  • yeinerlop Profile Picture
    on at

    Hello @PhilD did you try to clear cache into the Power-App app?

     

    app cache.jpeg

     

    Please click and accept as Solution if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up

  • PhilD Profile Picture
    1,011 on at

    Thanks @Yeiner 

     

    Yes, things we have systematically tried: 

     

    • Clearing cache.
    • Updating PowerApps app to latest version.
    • Restarting phones between users.

    We have had some issues with the app around losing wifi in areas of the hospital where coverage is poor. I have a hunch that perhaps the phone device is losing connectivity and when a usable connection is reestablished, it is somehow logging in a user who had previously been logged in on the device.

  • Community Power Platform Member Profile Picture
    on at
    Just following along in here as this may affect my future users.

    Whilst possibly not an overly palatable solution, you could add a screen that displays the 'Logging-in User' and ask users to confirm they match? If not, pick from users list then step into your current app.

    I do half of this in an app I've built in that I display the user's email as they are logging-in. It's more of a nice to have then a necessity but maybe something that'll work for you?

    Also, sounds like you maybe onto something with the disconnection - reconnection theory. Sounds like it's playing a part here.
  • PhilD Profile Picture
    1,011 on at

    I already have a screen displaying the currently logged in user which helps confirm the issue, but not prevent it.

     

    This is a series of apps that has been in production for a year now with hundreds of thousands of tasks, hundreds of daily users and almost a million rows of data in the events table and this has not been an issue until now.

     

    That an Office 365 product could so easily and randomly allow for one user to see data meant for another is a real problem in a large organization like this as PowerApps can contain information from Outlook email/calendar, etc.

  • Community Power Platform Member Profile Picture
    on at

    @PhilD 

    I can feel your frustration mate but my reply was meant to offer up a solution until MS can sort your issue. I hope I didn't offend because that wasn't my intent.

     

    Sounds like your apps have been working fine until just recently so something has changed? You may be albe to roll back to a previous PA version until its fixed, which may work? I'm not sure how to do that though because I've never had to do it.

     

    Extending a bit on my original post, if I may, I assume your app/s set a variable at App.OnStart which holds the logged-in user details. My idea was to confirm this with the user rather than assume the app knows who is logging in, then set the variable accordingingly. However, if you have a lot of apps (this sounds like the case) this maybe a big task and possibly redundant if MS fix your issue sooner rather than later.

     

    Like I said, I'd be interested in the outcome here because I could see it affecting some of my users.

     

    Cheers

  • PhilD Profile Picture
    1,011 on at

    Not offended at all... just wanted to clarify things a bit. After logging in, the user sees their name and then has to press a button to make themselves "available" in the app itself (so they show up on the dispatch board) so they are definitely logging in as themselves originally.

     

    This is happening after they are already logged in for hours processing tasks as themselves... suddenly they are getting notifications for another user and when the look at the app, they see the other user's name and see the other user's tasks, etc.

     

    I have also consulted with some folks in our IT department to determine if this could be related to our sign-on scheme here at our organization. I have not heard of this happening though with any other O365 (SharePoint, Outlook, etc.) though, so there does seem to be a PowerApps component to this.

  • Community Power Platform Member Profile Picture
    on at

    Yeah wow, that does sound like a curly one! If you find a solution could you possibly post it back here as I'd be interested in seeing the outcome.

  • PhilD Profile Picture
    1,011 on at
    You bet, anything I find out about this issue I will post here for the record.
  • PhilD Profile Picture
    1,011 on at

    This is happening with increased frequency and will be a deal breaker for using PowerApps in this organization.

    I just spoke with a user who related her experience that while using the PowerApps app on her iPhone, the app becomes unresponsive, and when it begins responding again, she is logged in as another user, seeing that users information in the app and on the main PowerApps for iPhone login screen!

    This is something that should never be able to happen, an unauthenticated user suddenly being automatically logged in while another user is signed in to PowerApps and actively using an app!

    I have consulted with the identity group here, the people in charge of single sign on and Active Directory, and so far they seem to have no idea why this is able to happen. also the mobility team in charge of provisioning mobile devices is not able to help either.

    At this point, we are running out of ideas and the fact that sensitive information is just randomly being displayed to people in a large healthcare organization is likely to be the end of PowerApps being approved for use here. Hearing from an engineer on the power app staff would be very helpful at this point.

  • yeinerlop Profile Picture
    on at

    Hello @PhilD honestly, don't know what is going on here and I'm wondering if you can open a ticket and add this community link. this is something that need to be reviewed. 

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard