ServerError: invalid_client: AADSTS650051: Using application 'Demo' is currently not supported for your organization xyz.com because it is in an unmanaged state. An administrator needs to claim ownership of the company by DNS validation of xyz.com

Bhuvan Goyal 20 Reputation points
2024-07-26T08:32:04.6533333+00:00
  • Error:- ServerError: invalid_client: AADSTS650051: Using application 'App_name' is currently not supported for your organization App_name.com because it is in an unmanaged state. An administrator needs to claim ownership of the company by DNS validation of App_name.com before the application app_name can be provisioned.
  • Using:- Accounts in any organisational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox) in Microsoft Entra
  • Explanation:- Here is the thing I want to use Microsoft Login using react.js(SPA-Application) and when I login using Microsoft then it throw the error but if I use it using "@gmail.com" then it is working but when I use from "@any.com" it thorws error (here "any" is the company domain that we are using(more like name.surname@any.com))
  • Given access to Both Access and ID token in Authentication in Entra Microsoft Dashboard
  • PFA
  • Screenshot 2024-07-26 at 1.57.39 PM

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,289 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,920 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,156 questions
0 comments No comments
{count} votes

Accepted answer
  1. Akhilesh Vallamkonda 10,325 Reputation points Microsoft Vendor
    2024-07-29T10:22:20.2233333+00:00

    Hi @Bhuvan Goyal

    Thank you for reaching us!

    We generally see this error with multi-tenant applications where the user is trying to access a application and resource API that exists in another directory.
    The error message you received is because that your organization's domain is in not verified by administrator.

    Try reaching out to your organization's administrator to perform DNS validation for the domain.
    https://learn.microsoft.com/en-us/entra/identity/users/domains-manage
    Also, please refer the below document https://docs.adenin.com/kb/how-to-resolve-error-aadsts65001/

    Hope this helps. Do let us know if you any further queries.

    Thanks,

    Akhilesh.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.