Set up the Microsoft Teams Graph spoke

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 3 Minuten Lesedauer
  • Integrate the ServiceNow instance and Microsoft Teams account by creating a custom OAuth application in Microsoft Azure portal to authenticate ServiceNow requests.

    Vorbereitungen

    • Request an Integration Hub subscription.
    • Activate the Microsoft Teams Graph spoke.
    • Role required: admin.

    Register an application using the Microsoft Azure portal

    Provide authorization to the ServiceNow instance by registering an application in Microsoft Entra ID (formerly Microsoft Azure Active Directory).

    Vorbereitungen

    Role required: Microsoft Entra ID admin

    Warum und wann dieser Vorgang ausgeführt wird

    Complete these steps from the Microsoft Azure portal.

    Prozedur

    1. In the Microsoft Azure portal, copy and record the Directory ID for later use.
    2. Register your application in Azure portal. For instructions on registering an application, see Tutorial: Register an app with Microsoft Entra ID in the Microsoft Docs.
    3. Copy and record the Application ID for later use.
    4. Add the Redirect URL in this format: https://<instance-name>.service-now.com/oauth_redirect.do.
    5. For the Required Permissions, select Microsoft Graph.

      For more information, see Permissions and consent in the Microsoft identity platform in Microsoft Docs.

      For information about the permissions required to use the spoke actions, see the Spoke actions section in Microsoft Teams Graph Spoke. Provide permissions as per your requirement. For more information about the permissions, see Microsoft Graph REST API v1.0 reference in Microsoft Docs.

    6. Record the Client Secret for use in later configurations.

    Ergebnisse

    The ServiceNow application is created with Microsoft Entra ID.

    Configure connections for the Microsoft Teams Graph spoke

    Add and configure the Microsoft Teams connections to authenticate ServiceNow requests in the Microsoft Teams Graph spoke.

    Vorbereitungen

    Role required: admin

    Prozedur

    1. Navigate to All > Process Automation > Flow Designer.
    2. Click the Connections tab.
    3. Configure the Microsoft Teams Spoke connection.
      1. Locate the Microsoft Teams Spoke connection alias and click View Details.
        Hinweis:
        Don't click Add Connection.
      2. Click Edit or if you are configuring the spoke for the first time, click Configure.
      3. On the Configure Connection form, fill in the fields.
        Field Description
        Name Name to identify the alias record associated with this connection.
        Connection URL Connection URL. Enter https://graph.microsoft.com.
        API Version The value is set to v1.0 by default.

        If you are using any other API version, update the version number here.

        Authorization URL OAuth authorization code endpoint. Enter https://login.microsoftonline.com/<Directory-ID>/oauth2/v2.0/authorize.
        Token URL OAuth server token endpoint. Enter https://login.microsoftonline.com/<Directory-ID>/oauth2/v2.0/token.
        Token Revocation URL OAuth server token revocation endpoint.
        OAuth Client ID Application ID created during application registration.
        OAuth Client Secret Client secret created during application registration.
        OAuth Redirect URL OAuth callback endpoint. Enter https://<instance-name>.service-now.com/oauth_redirect.do.
      4. Click Configure and Get OAuth Token.
    4. Configure the Microsoft Teams Graph Client Credentials connection.
      Except the Look up Schedules action, all the other calendar and webhook management spoke actions use this connection record.
      1. Locate the Microsoft Teams Graph Client Credentials connection alias and click View Details.
        Hinweis:
        Don't click Add Connection.
      2. Click Edit or if you are configuring the spoke for the first time, click Configure.
      3. On the form, fill in the fields.
        Tabelle : 1. Configure Connection form
        Field Description
        Name Name to identify the alias record associated with this connection.
        Connection URL Connection URL. Enter https://graph.microsoft.com.
        API Version The value is set to v1.0 by default.

        If you are using any other API version, update the version number here.

        Token URL OAuth server token endpoint. Enter https://login.microsoftonline.com/<Directory-ID>/oauth2/v2.0/token.
        OAuth Client ID Application ID created during application registration.
        OAuth Client Secret Client secret created during application registration.
      4. Click Configure and Get OAuth Token.

    Ergebnisse

    The spoke connections are configured and the spoke ready to be used.