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

Announcements

No record found.

News and Announcements icon
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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 115

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 74 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 56 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans