Connect Salesforce and Microsoft Teams for IT Services
Connect Salesforce with Microsoft Teams to deliver IT services across channels. This
integration automatically installs the authentication components. Configure named credentials and
Microsoft Entra ID (formerly Azure AD), and the necessary security adjustments for cross-origin
communication and session management.
Required Editions
Available in: Lightning Experience
Available in: Unlimited and Enterprise editions with Agentforce IT
Service.
User Permissions Needed
To connect Salesforce and Microsoft Teams:
System Administrator Profile
Make sure the following licenses are available in your org:
TeamsITSrvcsAddOn
TeamsEmployeeAddOn
IncidentManagementAddOn
Enable Microsoft Teams for Employee Service
From Setup menu, go to Salesforce Go > Feature
Sets.
On the Deliver IT Services Across Channels card, select Set
Up.
On the Microsoft Teams for Employee Service card, select Keep
Going.
On the Microsoft Teams for Employee Service page, select Get
Started.
Turn on Microsoft Teams for Employee Service.
When you enable Microsoft Teams for Employee Service, the External Client App, Auth
Provider, External Credentials, and Named Credentials install automatically. You must replace
the placeholders for Tenant ID, Client ID, and Client Secret in the external credentials for
the AzureBotNotificationNC and MSGraphApplicationNC named credentials.
Configure Cross-Origin Resource Sharing (CORS)
Configure Cross-Origin Resource Sharing (CORS) to allow the integration to communicate
with Salesforce OAuth endpoints.
From Setup, in the Quick Find box, enter CORS, and then select
CORS.
From the Cross-Origin Resource Sharing (CORS) Policy Settings, select Enable
CORS for OAuth endpoints.
Configure Lightning Out in session settings to ensure that embedded components, such as
Enablement Programs, display correctly.
From Setup, in the Quick Find box, enter Session Settings, and then
select Session Settings.
Select When embedding a Lightning application in a third-party site, use a
session token instead of a session cookie.
Save your changes.
From Setup, in the Quick Find box, enter My Domain, and then select
My Domain.
In Routing and Policies, deselect Require first-party use of Salesforce
cookies.
Save your changes.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.