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 / Model-driven custom pa...
Power Apps
Unanswered

Model-driven custom page iOS native player UserNotLoggedIn error

(1) ShareShare
ReportReport
Posted on by 277

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]

Categories:
I have the same question (0)
  • meelamri Profile Picture
    468 on at

    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.

     

  • PowerThomas Profile Picture
    277 on at

    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.

  • Verified answer
    meelamri Profile Picture
    468 on at

    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-party-cookies-and-local-data-in-your-browser-or-app

     

    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 !

     

     

  • PowerThomas Profile Picture
    277 on at

    Just perfect! Thank you, this is the solution.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard