cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AndyBentley
Level: Powered On

Offline canvas app does not work, prompted for credentials

I have a simple canvas app, no data connections whatsover, just local images and videos in the gallery and several screens that progress in a loop via timers to create an interactive digital signage solution. Some screens have buttons to allow users to jump to different screens. This runs on a Windows 10 touchscreen kiosk  PC configured to launch the PowerApps modern store app as a single-app using assigned access.

 

I need the app to work offline. It should as there are no connectivty requirements whatsoever. My problem is that the PowerApp modern store app prompts for credentials regularly when the kiosk PC is restarted e.g. after Windows updates, or when the kiosk PC is moved between venues where it is used a trade shows etc.

 

I thought that once I had connected online once, downloaded my PowerApp locally and launched it once everything would work offline? All documentation indicates this should work. I cannot understand why my simple canvas app cannot be used offline. Has anyone else experienced this? Are there known bugs? Truely offline use of a canvas app seems to be broken.

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Offline canvas app does not work, prompted for credentials

I agree differences could be spelled out better.  But it is a cloud based service, so I think talking about offline implies that there is also an online aspect.  So I don't agree that offline is misleading.

 

In Terms of IOS and Android.  I think the difference is more that in general those devices are put to sleep rather than completely shutdown.  So the state of reunning applications is paused rather than reset.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: Offline canvas app does not work, prompted for credentials

I suspect the issue here is that its a Windows 10 PC, which implies it is shut down between moving.  The offline experince for PowerApps applications is designed with an always on Phone or Tablet in mind.  In my experience the PowerApps application itself prompts for credentials when you start it up for the first time.  That happens every time it has been shut down. So I don't think its your app that is causing the issue its the PowerApps player itself. You may need to move to an Android or iPhone tablet for your Kiosk.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
AndyBentley
Level: Powered On

Re: Offline canvas app does not work, prompted for credentials

Thanks, I think you're correct. It does seem related to authentication sessions/cookies timing out and needing to be re-established. Would you expect even an Android or iOS device to have the same problem as they wouldn't be 'always on' if frequently shutdown to move between venues? I wish the MS documentation was clearer (hey, what's new!), as 'offline' use needs to really be called 'intermittently connected' use, or at-least the difference in behaviour between platforms/connectivity scenarios needs to be spelled out.

Dual Super User
Dual Super User

Re: Offline canvas app does not work, prompted for credentials

I agree differences could be spelled out better.  But it is a cloud based service, so I think talking about offline implies that there is also an online aspect.  So I don't agree that offline is misleading.

 

In Terms of IOS and Android.  I think the difference is more that in general those devices are put to sleep rather than completely shutdown.  So the state of reunning applications is paused rather than reset.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 179 members 6,042 guests
Please welcome our newest community members: