Skip to main content
You must have at least Application Developer permissions in your Azure account to register applications in Microsoft Entra ID.

Register your application in Microsoft Entra ID

Register an application in Microsoft Entra ID to get the OAuth 2.0 credentials for Microsoft Teams.

1

Start a new app registration

Sign in to the Microsoft Entra admin center.

  • If you have access to multiple tenants, click the Settings (gear) icon in the top-right corner.
  • Select the desired tenant from the list under Directory + subscription.
  • Search for App registrations in the top search bar.
  • Click New registration.
2

Enter the app details

Fill in the registration form, then select Register to create the app registration.

  • Name: StackOne Microsoft Teams Integration
  • Supported account types: Single tenant only - <your tenant> if only your organization will use this integration, or Multiple Entra ID tenants to support users from other Microsoft Entra tenants
  • Redirect URI (optional): select Web, then enter the Callback URL from your Connector Profile
3

Copy the Client ID

On the app’s Overview page, copy the Application (client) ID into your Connector Profile.

4

Add Microsoft Graph permissions

Enables actions: Add Channel Member, Add Chat Member, Add Team Member, Add Team Members In Bulk, Archive Channel, Archive Team, Change Password, Clone Team, Create Channel, Create Chat, Create Team, Create User, Delete Channel, Delete Channel Message, Delete Channel Tab, Delete Chat, Delete Chat Message, Delete Team, Delete User, Get Channel, Get Channel Files Folder, Get Channel Member, Get Channel Message, Get Channel Tab, Get Chat, Get Chat Member, Get Chat Message, Get Current User, Get Message Reply, Get Primary Channel, Get Team, Get Team Member, Get User, List All Channel Members, List All Channels, List Channel Members, List Channel Messages, List Channel Tabs, List Channels, List Chat Members, List Chat Messages, List Chats, List Incoming Channels, List Message Replies, List Team Members, List Teams, List Users, Remove Channel Member, Remove Chat Member, Remove Team Member, Remove Team Members In Bulk, Send Channel Message, Send Chat Message, Send Message Reply, Unarchive Channel, Unarchive Team, Undo Soft Delete Chat Message, Update Channel, Update Channel Message, Update Chat, Update Team

From the left menu under Manage, select API permissions.

  • Click Add a permission.
  • Select Microsoft Graph.
  • Select Delegated permissions.
  • Add each scope listed.
  • Click Add permissions.
5

Grant admin consent

Click Grant admin consent for [tenant name].

  • Select Yes to consent on behalf of all users in your tenant.
  • Verify that Granted for [tenant name] appears under the Status column.
6

Create a client secret

From the left menu under Manage, select Certificates & secrets.

  • Under the Client secrets tab, click New client secret.
  • Description: StackOne Integration Secret
  • Expires: an expiration period
  • Click Add.
  • Copy the new secret’s Value into your Connector Profile. It’s only shown once and can’t be retrieved again.

Create the StackOne Connector Profile

1

Create a Connector Profile

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.
2

Link an Account

Once the Connector Profile is created, continue to link an account.