Azure App authorization

Sweb 20 Reputation points
2024-03-13T10:21:38.0566667+00:00

Hi, what I want to achieve is to send emails on behalf of my users. I have a website where I want my users to authorize me to send email on their behalf.

Have created an app, in the Authentication tab where it sais Who can use this application or access this API? I have Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)

When I try from the user I made the App from, it works, but when I try from another user in another tenant I get Selected user account does not exist in tenant 'App Tenant' and cannot access the application 'b3b61714-1131-4b54-a046-66c45fc819c1' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account.

How can I make so any user from any tenant can authorize?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,909 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 8,160 Reputation points
    2024-03-13T20:34:22.93+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    In the Azure portal, navigate to your application's registration page. Under the "Supported account types" section, select "Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)". This allows users from any tenant to sign in to your application.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    0 comments No comments

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.