How to distribute the app which is created on entra.

asvr asvr 25 Reputation points
2024-04-10T13:54:16.6433333+00:00

How to distribute the application or what are the ways to distribute it between different organisations?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
{count} votes

Accepted answer
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2024-04-22T10:03:47.73+00:00

    asvr asvr

    Make sure to login in your multi-tenant API with user of another Tenant using

    https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id={client-id of Tenant A API}&response_type=code&redirect_uri={redirect URI registered in Tenant A API}&response_mode=fragment&scope=openid%20offline_access%20https%3A%2F%2Fgraph.microsoft.com%2F.default&state=12345 which will ask for user's consent

    Once the consent is provided, the service principal object of API of Tenant A gets registered in Tenant B. This API now can be found under Enterprise Registration Blade of AAD in Tenant B.

    Here Tenant A is where you register your application.

    Reference -https://learn.microsoft.com/en-us/entra/identity-platform/howto-convert-app-to-be-multi-tenant

    Hope this will help.

    Thanks,

    Shweta

    Please remember to "Accept Answer" if answer helped you.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Marcin Policht 50,730 Reputation points MVP Volunteer Moderator
    2024-04-11T12:33:26.53+00:00

    You don't distribute it - you make it available to other organizations. To accomplish this, implement the app as multi-tenant.

    More at https://learn.microsoft.com/en-us/entra/identity-platform/single-and-multi-tenant-apps

    and https://merill.net/2023/04/azure-ad-multi-tenant-app-vs-single-tenant-app/


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    1 person found this answer helpful.

  2. asvr asvr 25 Reputation points
    2024-04-26T11:53:31.28+00:00

    Shweta Mathur Yes it worked. Thank you :) for your response.

    1 person found this answer 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.