how to get client id for azure active directory

Andrew Champion 0 Reputation points
2023-06-26T20:39:52.4166667+00:00

I need to get my azure active directory application (client) ID and client secret, cannot find these items. How do I find these?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,026 questions
{count} votes

2 answers

Sort by: Most helpful
  1. JamesTran-MSFT 36,491 Reputation points Microsoft Employee
    2023-06-30T20:54:49.1733333+00:00

    @Andrew Champion

    Thank you for your post!

    I understand that you need to get your Azure AD Application Registration's Client ID and Client Secret but aren't able to find these values. To hopefully point you in the right direction or help resolve your issue, I'll share the steps below.

    Azure AD Application Registration's Client ID:

    1. From Azure Active Directory select App registrations within the left menu.
    2. If the App registrations you're looking for isn't there try selecting All applications and searching for the name of the App registration.
    3. Once you find and select your desired App registration, from the Overview page you'll find the Client ID along with the Object ID and Tenant ID.

    User's image

    Client Secret:

    Note: Client secret values cannot be viewed, except for immediately after creation. Be sure to save the secret when created before leaving the page.

    1. From your App registration, select Certificates & secrets from the left menu.
    2. On the Certificates & secrets page you'll be able to view your Secret ID however, in order to view a Secret's value, you'll need to create a new Secret.

    User's image

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.


    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.

    1 person found this answer helpful.

  2. Dillon Silzer 54,846 Reputation points
    2023-06-26T20:46:02.4766667+00:00

    If you are talking about App registrations:

    #1 Go to https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade/quickStartType~/null/sourceType/Microsoft_AAD_IAM (Applications > App Registrations)

    User's image

    #2 Find your App that you want the Client ID for.

    #3 In Overview you will find the Client ID:

    User's image

    #4 Navigate to Certificates & secrets:

    User's image

    #5 Click New client secret and generate a new secret to use. User's image


    If this is helpful please accept answer.