Share via

How can I fix Error: Code: OrganizationFromTenantGuidNotFound Message: The tenant for tenant guid '*****' does not exist.

Marco Tomatis 71 Reputation points
2024-07-25T12:36:58.5833333+00:00

I registered an application on Microsoft Entra ID Free that should send emails via OAUTH 2.0 authentication, I gave access to the Mail.Send API and created a clientsecret. If I configure the clientID, clientsecret and tenatID in my app I get the error in question. rganizationFromTenantGuidNotFound Message: The tenant for tenant guid '*****' does not exist. What should I check? Can I send emails with a free account?

Thank you

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
0 comments No comments

Answer accepted by question author

  1. Anonymous
    2024-07-26T01:38:00.3333333+00:00

    Hi @Marco Tomatis

    This error is due to the fact that your account does not have a valid MS 365 License, please check whether your account is licensed in Azure, if not, try purchasing or free trial MS 365 license for your tenant, then go to Azure AD and grant that license to the logged in user.

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    Was this answer helpful?

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Marco Tomatis 71 Reputation points
    2024-07-26T06:51:34.9866667+00:00

    Linked to my account I have a 365 Family subscription. I was convinced that this was enough to send emails. I also have a business account that has a 365 business plan, but the domain with which it is registered on Azure is active on Google. Could this be a problem?

    Thanks

    Was this answer helpful?


Your answer

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