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
-
Microsoft Graph App Registration Update
Log into Azure Portal
Navigate to App Registrations
Select the integration application
Add a new Client Secret
Note the expiration value and secret id
Once you navigate away from this, that value will be hidden
-
Salesforce Named Credential Update
Log into Salesforce as Administrator
Navigate to Setup > Security > Named Credentials
Locate the Microsoft Graph Named Credential -
-
Update the Client Secret reference in the Named Credential configuration
If using a server to server flow, this is normally specified under the External Credential Principal
Save the changes
-
Verification
Test the Named Credential connection
Verify API calls are working correctly
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