What's the difference between client id and tenant id?

Multi tool use
Multi tool use












0















Azure requires multiple IDs to create application ServicePrincipal credentials.



What's the difference between the client id and tenant id?



Why does Azure require separate IDs?










share|improve this question




















  • 1





    A client id identifies a client. A tenant id identifies a tenant. You can have multiple clients on a given tenant database. Think: software that can handle multiple companies (i.e. tenants), each with their own clients.

    – Robert Harvey
    Jan 2 at 15:57


















0















Azure requires multiple IDs to create application ServicePrincipal credentials.



What's the difference between the client id and tenant id?



Why does Azure require separate IDs?










share|improve this question




















  • 1





    A client id identifies a client. A tenant id identifies a tenant. You can have multiple clients on a given tenant database. Think: software that can handle multiple companies (i.e. tenants), each with their own clients.

    – Robert Harvey
    Jan 2 at 15:57
















0












0








0








Azure requires multiple IDs to create application ServicePrincipal credentials.



What's the difference between the client id and tenant id?



Why does Azure require separate IDs?










share|improve this question
















Azure requires multiple IDs to create application ServicePrincipal credentials.



What's the difference between the client id and tenant id?



Why does Azure require separate IDs?







azure azure-active-directory






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 11 at 9:07









Md Farid Uddin Kiron

1,160112




1,160112










asked Jan 2 at 15:55









Bryce GuintaBryce Guinta

1,4632019




1,4632019








  • 1





    A client id identifies a client. A tenant id identifies a tenant. You can have multiple clients on a given tenant database. Think: software that can handle multiple companies (i.e. tenants), each with their own clients.

    – Robert Harvey
    Jan 2 at 15:57
















  • 1





    A client id identifies a client. A tenant id identifies a tenant. You can have multiple clients on a given tenant database. Think: software that can handle multiple companies (i.e. tenants), each with their own clients.

    – Robert Harvey
    Jan 2 at 15:57










1




1





A client id identifies a client. A tenant id identifies a tenant. You can have multiple clients on a given tenant database. Think: software that can handle multiple companies (i.e. tenants), each with their own clients.

– Robert Harvey
Jan 2 at 15:57







A client id identifies a client. A tenant id identifies a tenant. You can have multiple clients on a given tenant database. Think: software that can handle multiple companies (i.e. tenants), each with their own clients.

– Robert Harvey
Jan 2 at 15:57














1 Answer
1






active

oldest

votes


















4














An application ID is the ID of the specific application you have created in Azure Active Directory, you will likely have many applications for different purposes. Each application can have different users assigned access, different criteria for access (MFA, conditional access etc.) and will be configured to authenticate users for different real applications or purposes. Each Azure AD application has a unique ID, and this ID is what you give your application to use to talk to it when processing logins etc.



All of your applications sit within an Azure Active Directory instance, or as MS like to call it, a tenant. The tenant ID identifies which Azure AD instance the application sits under, so Azure knows where to look when you request things using that applicaiton ID.



I suppose in theory if Applicaiton IDs were unique globally then you could work out the tenant from the App ID, but that isn't how MS set it up.






share|improve this answer





















  • 1





    As an additional clarification: client id == application id. Registered applications get a unique client id, and the Application and Service Principal objects in AAD reference it.

    – juunas
    Jan 2 at 16:50











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54009337%2fwhats-the-difference-between-client-id-and-tenant-id%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














An application ID is the ID of the specific application you have created in Azure Active Directory, you will likely have many applications for different purposes. Each application can have different users assigned access, different criteria for access (MFA, conditional access etc.) and will be configured to authenticate users for different real applications or purposes. Each Azure AD application has a unique ID, and this ID is what you give your application to use to talk to it when processing logins etc.



All of your applications sit within an Azure Active Directory instance, or as MS like to call it, a tenant. The tenant ID identifies which Azure AD instance the application sits under, so Azure knows where to look when you request things using that applicaiton ID.



I suppose in theory if Applicaiton IDs were unique globally then you could work out the tenant from the App ID, but that isn't how MS set it up.






share|improve this answer





















  • 1





    As an additional clarification: client id == application id. Registered applications get a unique client id, and the Application and Service Principal objects in AAD reference it.

    – juunas
    Jan 2 at 16:50
















4














An application ID is the ID of the specific application you have created in Azure Active Directory, you will likely have many applications for different purposes. Each application can have different users assigned access, different criteria for access (MFA, conditional access etc.) and will be configured to authenticate users for different real applications or purposes. Each Azure AD application has a unique ID, and this ID is what you give your application to use to talk to it when processing logins etc.



All of your applications sit within an Azure Active Directory instance, or as MS like to call it, a tenant. The tenant ID identifies which Azure AD instance the application sits under, so Azure knows where to look when you request things using that applicaiton ID.



I suppose in theory if Applicaiton IDs were unique globally then you could work out the tenant from the App ID, but that isn't how MS set it up.






share|improve this answer





















  • 1





    As an additional clarification: client id == application id. Registered applications get a unique client id, and the Application and Service Principal objects in AAD reference it.

    – juunas
    Jan 2 at 16:50














4












4








4







An application ID is the ID of the specific application you have created in Azure Active Directory, you will likely have many applications for different purposes. Each application can have different users assigned access, different criteria for access (MFA, conditional access etc.) and will be configured to authenticate users for different real applications or purposes. Each Azure AD application has a unique ID, and this ID is what you give your application to use to talk to it when processing logins etc.



All of your applications sit within an Azure Active Directory instance, or as MS like to call it, a tenant. The tenant ID identifies which Azure AD instance the application sits under, so Azure knows where to look when you request things using that applicaiton ID.



I suppose in theory if Applicaiton IDs were unique globally then you could work out the tenant from the App ID, but that isn't how MS set it up.






share|improve this answer















An application ID is the ID of the specific application you have created in Azure Active Directory, you will likely have many applications for different purposes. Each application can have different users assigned access, different criteria for access (MFA, conditional access etc.) and will be configured to authenticate users for different real applications or purposes. Each Azure AD application has a unique ID, and this ID is what you give your application to use to talk to it when processing logins etc.



All of your applications sit within an Azure Active Directory instance, or as MS like to call it, a tenant. The tenant ID identifies which Azure AD instance the application sits under, so Azure knows where to look when you request things using that applicaiton ID.



I suppose in theory if Applicaiton IDs were unique globally then you could work out the tenant from the App ID, but that isn't how MS set it up.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 2 at 16:52

























answered Jan 2 at 16:14









Sam CoganSam Cogan

2,08263063




2,08263063








  • 1





    As an additional clarification: client id == application id. Registered applications get a unique client id, and the Application and Service Principal objects in AAD reference it.

    – juunas
    Jan 2 at 16:50














  • 1





    As an additional clarification: client id == application id. Registered applications get a unique client id, and the Application and Service Principal objects in AAD reference it.

    – juunas
    Jan 2 at 16:50








1




1





As an additional clarification: client id == application id. Registered applications get a unique client id, and the Application and Service Principal objects in AAD reference it.

– juunas
Jan 2 at 16:50





As an additional clarification: client id == application id. Registered applications get a unique client id, and the Application and Service Principal objects in AAD reference it.

– juunas
Jan 2 at 16:50




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54009337%2fwhats-the-difference-between-client-id-and-tenant-id%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







ognmYQ,JEMPB9TocwBnrqu,ylWbFAZRM e2W8RySLvAw93yx,MKn,a2JYJP0mu jDPSoW6fLR37f5,K dnR172HhT
Ut4X6JfbPuYMo Bc07JKQMvL r2

Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas