Managing auth tokens for multiple instances of same application

ReddyP 6 Reputation points
2020-08-24T18:20:10.147+00:00

Hi,
I intend to create a daemon app which will call the Microsoft Graph API. I would like to create 2 instances of the application running on separate nodes accessing the same API. I am not sure how to handle authentication in this case. Would I have to register the application as a multi tenant application or can I simultaneously get different tokens for each and run them independently (as I would for an application with a single instance)?
Thanks in advance.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,365 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,801 Reputation points Microsoft Employee
    2020-08-24T23:03:09.4+00:00

    @ReddyP No, you do not need to register the application as a multi-tenant. You need to add URL of all of your deployed applications to the reply url/redirect uri on Azure AD application registration page and each application will fetch token independently once user signs in to your application.

    19983-image.png


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.