cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerThomas
Advocate I
Advocate I

Model-driven custom page iOS native player UserNotLoggedIn error

Hi fellow makers!

 

I have an issue for which I’m hoping someone else already stumbled on and maybe fixed it.

 

I made a custom page that opens in a centered dialog triggered by a custom command using JS. It works perfectly in the browser. But when testing this out in the native player (running iOS myself), I stumbled on an error when the dialog is opened.

 

It is currently not listed as a known issue, in fact the article describes it as a supported feature: https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/model-app-page-issues 

 

Error details:

Error Code: UserNotLoggedin
Session Id: 7e051932-d123-4f6b-88b0-20c414e79144
Activity Id: 506830fb-ac23-48b9-af7a-b9ecf4d56f0b
Timestamp: Thu Jun 16 2022 08:07:09 GMT +0200 (CEST)
[NotLoggedInError] User is not logged in. Error: There is no signed in useri@https://<env>.crm4.dynamics.com/uclient/scripts/app.js?
V=1.4.4265-2205.3:4733:86 @https://<env>.crm4.dynamics.
com/uclient/scripts/custompage.js?v=1.4.4265-2205.3:33:5847 asyncFunctionResume@[native code] @[native code] promiseReactionJobWithoutPromise@[native code] promiseReactionJob@[native code]

1 ACCEPTED SOLUTION

Accepted Solutions
melamri
Resolver III
Resolver III

Hello @PowerThomas 

 

I went through the same scenario again and managed to solve the problem. Indeed, this is related to the third-party cookies. The following documentation will certainly help you to solve the problem: https://docs.microsoft.com/en-us/power-apps/troubleshooting-startup-issues#enable-storage-of-third-p...

 

In my case, I just had to allow the Cross-Website Tracking:

  1. Select Settings.
  2. Scroll down to Power Apps.
  3. Toggle on Allow Cross-Website Tracking.

Good Luck !

 

 

View solution in original post

4 REPLIES 4
melamri
Resolver III
Resolver III

Hi, 

I think this is related to the following limitation: 

  • Custom pages require third-party cookies to be enabled, which is required by the canvas app runtime.

 

Just check with some colleagues who use Android. They don’t see the error.

Could it be iOS related? There’s no option to enable third party cookies in the native iOS app as far as I know.

melamri
Resolver III
Resolver III

Hello @PowerThomas 

 

I went through the same scenario again and managed to solve the problem. Indeed, this is related to the third-party cookies. The following documentation will certainly help you to solve the problem: https://docs.microsoft.com/en-us/power-apps/troubleshooting-startup-issues#enable-storage-of-third-p...

 

In my case, I just had to allow the Cross-Website Tracking:

  1. Select Settings.
  2. Scroll down to Power Apps.
  3. Toggle on Allow Cross-Website Tracking.

Good Luck !

 

 

Just perfect! Thank you, this is the solution.

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (1,701)