---
sourceDocument: Xanadu Employee Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/employee-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Create connection and credential for Microsoft Teams Graph

# Create connection and credential for Microsoft Teams Graph {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Setup connection and credentials alias for Microsoft Teams Graph.

## Before you begin

Role required: admin

## Procedure

1. Navigate to AllConnections \& CredentialsCredentials.
2. Click New.  
   The system displays the message, What type of Credentials would you like to create?
3. Select OAuth 2.0 Credentials.
4. On the form, fill in the fields.  
   {#create-connection-and-credentials-alias-for-microsoft-teams-graph__table_kty_ksv_5wb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name to uniquely identify the record. |
   | Active | Option to actively use the credential record. |
   | OAuth Entity Profile | OAuth profile created in the application registration of the provider. |
   | Applies to | MID Servers that can use this credential. For example, select All MID Servers. |
   | Order | Order that the credentials are used. For example, enter <kbd class="ph userinput">100</kbd>. |
   [Table 1. OAuth 2.0 Credentials form]

   {#create-connection-and-credentials-alias-for-microsoft-teams-graph__table_kty_ksv_5wb}
5. Save the form.  
   Right-click the form header and click Save.
6. To generate the OAuth token, click the Get OAuth Token related link.
7. Create a connection.
   1. Navigate to AllConnections \& CredentialsConnection.
   2. Click New.
   3. On the form, fill in the fields.  
      {#create-connection-and-credentials-alias-for-microsoft-teams-graph__table_ns5_4tf_15b__entry__2}

      | Field | Description |
      |-|-|
      | Name | Name to uniquely identify the record. For example, <kbd class="ph userinput">Exchange Connection</kbd>. |
      | Credential | Credential record created for this connection. |
      | Connection alias | Alias record associated with this connection. Select <kbd class="ph userinput">sn_msteams_ahv2.Microsoft_Teams_Spoke</kbd> Connection \& credential alias record. |
      | URL builder | Note: Do not select the check box. |
      | Connection URL | Connection URL. Enter <kbd class="ph userinput">https://graph.microsoft.com</kbd>. |
      | Use MID server | Option to use a MID Server. If the check box is selected, define the fields in the Advanced MID Server Configuration related list. |
      | Active | Option to actively use the connection. |
      | Domain | Domain that the action or activity runs in. |
      [Table 2. HTTP(s) connection form]

      {#create-connection-and-credentials-alias-for-microsoft-teams-graph__table_ns5_4tf_15b}
   4. Click Submit.
   {#create-connection-and-credentials-alias-for-microsoft-teams-graph__substeps_ls5_kcw_5wb}
**Previous topic:** [Create credential for Microsoft Teams Communication](https://www.servicenow.com/docs/XERXKO_zEDj3neZT09Nzyg "Setup credentials for Microsoft Teams Communication spoke.")  
**Next topic:** [Connect Workplace Reservation Management with Zoom](https://www.servicenow.com/docs/86uYg2uHU4rvqIFDJEqPWw "Establish connection between Zoom and Workplace Reservation Management.")

*[\>]: and then


