EventSpark Home

Teams Integration

For EventSpark to integrate with Teams, configuration needs to be done in Teams by an experienced Teams Account Administrator and in Salesforce by a Salesforce System Administrator. EventSpark connects to Teams using Microsoft Graph API.

In order to use the Microsoft Graph API, an App Registration needs to be configured on the Azure Platform. Credentials are needed for authentication. A Credential can be a Certificate or a Client Secret. This documentation focusses on using a Client Secret. If it is preferred to use a Certificate rather than a Client Secret, then similar considerations need to be given to the Certificate expiry.

Microsoft Graph to Salesforce Integration: Client Secret Renewal Process

Overview

The integration between Microsoft Graph and Salesforce uses a Client Secret for authentication through Named Credentials. This Client Secret has an expiration date and requires periodic renewal to maintain the integration's functionality.

Impact of Client Secret Expiration

When the Client Secret expires:

  • Authentication between Salesforce and Microsoft Graph will fail

  • API calls using the Named Credential will fail

  • Integration services will be disrupted until Client Secret renewal

Renewal Process

Prerequisites

  • Access to Microsoft Azure Portal

  • Salesforce Administrator access

  • New Client Secret (generated or obtained from your security team)

Steps to Renew Client Secret

  1. Microsoft Graph App Registration Update

    1. Log into Azure Portal

    2. Navigate to App Registrations

    3. Select the integration application

    4. Add a new Client Secret

    5. Note the expiration value and secret id

    6. Once you navigate away from this, that value will be hidden

  1. Salesforce Named Credential Update

    1. Log into Salesforce as Administrator

    2. Navigate to Setup > Security > Named Credentials

    3. Locate the Microsoft Graph Named Credential -

    4. Update the Client Secret reference in the Named Credential configuration

      1. If using a server to server flow, this is normally specified under the External Credential Principal

    5. Save the changes

  1. Verification

    1. Test the Named Credential connection

    2. Verify API calls are working correctly

    3. Document the new Client Secret expiration date for future reference

Best Practices

  • Monitor Client Secret expiration dates

  • Schedule Client Secret renewal at least 2 weeks before expiration

  • Maintain documentation of Client Secret details and renewal dates

  • Test the integration thoroughly after Client Secret renewal