web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

"Cannot access the application in the tenant" when trying to log in for Microsoft 365

(0) ShareShare
ReportReport
Posted on by 5

I'm a developer of an app that archives emails on macOS and I want to add support for Microsoft 365. I set up my app on the Azure portal. Then I got an account on the developer sandbox. However, when I try to log in I get an error:

pastedimage1680179447002v1.png

The app should allow "all tenants":

pastedimage1680179655057v2.png

What do I need to change where?

I have the same question (0)
  • Beatrix Willius Profile Picture
    5 on at

    Some screenshots from the Azure portal:

    pastedimage1680183862570v2.pngpastedimage1680183881952v3.png

  • Eiken Profile Picture
    on at

    Hi,

    Please check the problem with the following link

    Error AADSTS50020 - User account from identity provider does not exist in tenant - Active Directory | Microsoft Learn

  • Beatrix Willius Profile Picture
    5 on at

    Hi,

    thanks for the link. I now can use one of my developer users for testing after adding the user directly.

    However, I can't use a random user to my public facing app. I tried with AdeleV@3zp7xq.onmicrosoft.com and I got the same error messages again.

    Screenshot-2023_2D00_03_2D00_31-at-12.11.33.png

    Screenshot-2023_2D00_03_2D00_31-at-12.11.40.png

    Screenshot-2023_2D00_03_2D00_31-at-12.12.25.png

    What do I need to change in the options for my app to make this work for all users?

    Regards

    Beatrix Willius

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans