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 / Error when user reques...
Power Apps
Unanswered

Error when user requests access to canvas app

(0) ShareShare
ReportReport
Posted on by 15

Hi all,

 

When a person who doesn't have access tries to open the Canvas app, it gets a nice error (in Dutch in the first picture below) that the user doesn't have access to this app. But at the bottom right it says in purple "Toegang aanvragen", which means: "Request access". When the user clicks here, the user always get the error which is shown in the second picture. In English this error means: "Something went wrong, try again later or ask the owner of the app". 

 

Does anyone here have an idea on how to solve this? 

 

 

 

Picture1:

Sander611_0-1629900459249.png

Picture2:

Sander611_1-1629900703271.png

 

Thanks in advance,

Sander

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Sander611 You have to share that App with that user.

  • Sander611 Profile Picture
    15 on at

    Hey, I know haha. But I want to have this to work. So that users that opens the app (without me knowing) get a chance to request access to it...

     

  • zmorek Profile Picture
    3,272 on at

    Not sure that's an option, as Power Apps relies on that sharing (as well as the data sources); you could get hack-y with it and embed the Power App in a SharePoint page. Then if a user navigates to that page and they don't have access, they can use the "request access" portion of the webpage.

  • Sander611 Profile Picture
    15 on at

    Weird, this seems like out-of-the-box functionality. But I can't find the logic/code for this. Thanks for the alternative way, but unfortunately this isn't possible for me.

  • Sander611 Profile Picture
    15 on at

    I discovered that the issue only occurs when the owner of the app is a Service Account. If I publish the app on my personal account, it works fine, and I receive an email.

     

    The error message I found in Chromes debugging tool was the following:

    error: {code: "MissingUserEmail", message: "The user's email address is not available."}

     

    I've checked the 365 user profile and the Service Account has its own email address. I've also compared if my personal account and the service account both have the same rights.  

     

    Does anyone have a clue from where to go from here?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard