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

Multi tool use
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?


add a comment |
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?


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
add a comment |
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 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?




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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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