Question Regarding Application (Client) ID in Teams App Manifest Basic Information

石川 敦己 235 Reputation points
2025-01-27T13:13:33.0833333+00:00

We have two questions regarding the "Application (client) ID" field in the Basic Information section of a Teams app manifest.

We are currently developing a notification-only bot to send updates from our web app to Teams.

We created this Teams app using the Teams Developer Portal, where the Application (client) ID field in the Basic Information section is marked as required (*). Normally, we assume this refers to the ID of a Microsoft Entra application.

Which Microsoft Entra application ID should we use? When we created the bot resource, a Microsoft Entra application with the same ID as the bot was automatically created. Should we use the ID of this Microsoft Entra application (i.e., the bot's ID)?

Why is the Application (client) ID required? Currently, we have successfully built and used the custom notification-only app without specifying any value in the Application (client) ID field. Notifications are being sent as expected without any errors.

Could you please clarify these points? Thank you for your assistance.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,827 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,546 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,149 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sanoop M 675 Reputation points Microsoft Vendor
    2025-01-27T23:03:52.98+00:00

    Hello @石川 敦己,

    Thank you for posting your query on Microsoft Q&A.

    Basically you have two questions regarding the "Application (client) ID" field in the Basic Information section of a Teams app manifest.

    1.Which Microsoft Entra application ID should we use? When we created the bot resource, a Microsoft Entra application with the same ID as the bot was automatically created. Should we use the ID of this Microsoft Entra application (i.e., the bot's ID)?

    Answer:

    Please note that the Application ID will be the same in both the Enterprise Applications as well as in the App Registrations section where you have integrated the Bot application, so you can use the Microsoft Entra Application ID(Bot's App ID) from App Registrations or Enterprise Applications section(as both the App IDs are same).

    Please note that If you register an application in Microsoft Entra ID under App Registrations section, an application object and a service principal object are automatically created in your home tenant.

    2.Why is the Application (client) ID required? Currently, we have successfully built and used the custom notification-only app without specifying any value in the Application (client) ID field.

    Answer:

    When application registration finishes, the Microsoft Entra admin center displays the app registration's Overview pane. You see the Application (client) ID. Also called the client ID, this value uniquely identifies your application in the Microsoft identity platform.

    Your application's code, or more typically an authentication library used in your application, also uses the client ID. The ID is used as part of validating the security tokens it receives from the identity platform.

    This application id (client id) is used when performing authentication requests and is provided to the authentication libraries in development time.

    For additional details, please refer to the below documents.

    https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser

    https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app?tabs=certificate

    I hope this above information provided is helpful. Please feel free to reach out if you have any further questions.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Thanks and Regards,

    Sanoop Mohan

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.