service-itsm-teams-itdesk-configure
Configure the "Set Up Salesforce IT Desk" checklist for Microsoft Teams Employee Service (ITSM) — the fulfiller/agent side, covering app enablement, marketplace install guidance, user access assignment, and Swarming collaboration-tool setup. Use this for: 'turn on Salesforce IT Desk', 'set up IT Desk on Teams', 'assign Teams for IT Desk permission set', 'set Teams as collaboration tool for swarming', 'install Salesforce IT Desk app on Teams', or any request to complete the IT Desk half of the Teams ITSM Go page checklist. DO NOT TRIGGER for the base Teams Salesforce Go page toggle or Azure/Entra app setup (service-itsm-teams-configure) or for the IT Service/employee half of the checklist (service-itsm-teams-itservice-configure).
How do I install this agent skill?
npx skills add https://github.com/forcedotcom/sf-skills --skill service-itsm-teams-itdesk-configureIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill helps administrators configure the Salesforce IT Desk for Microsoft Teams. It automates API calls to enable organization settings and manage user permissions while providing links to official Salesforce and Microsoft setup resources.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Set Up Salesforce IT Desk (Microsoft Teams)
Complete the "Set Up Salesforce IT Desk" checklist group on the Teams ITSM Go page
(service-cloud-itsm-teams-integration's feature page) — the fulfiller/agent side of Teams
ITSM integration, for IT agents to swarm on and resolve tickets from Teams. Every operation
dispatches through headless-360.
Scope
- In scope: Turning on the
OrgHasITSMFulfillerTeamspreference; giving the user the exact Teams marketplace link + help doc for the IT Desk app install; assigningTeamsForITSrvcsUser/MicrosoftGraphAccesspermission sets to confirmed users plus provisioning the org-wide API-Enabled login permission set (created once, required to sign in); delegating "Set Teams as Collaboration Tool for Swarming" toservice-itsm-swarming-configure. - Out of scope: The base Teams Salesforce Go page toggle (
ITSMTeamsEnabled), Azure/Entra app registration, Named Credential population, and Teams extension/preferred-site registration — useservice-itsm-teams-configure(a prerequisite for this skill). The IT Service/employee half of the checklist — useservice-itsm-teams-itservice-configure. Enabling theservice-cloud-swarmingGo feature itself — delegate toservice-itsm-swarming-configure.
Prerequisite: run service-itsm-teams-configure first (or alongside) — this skill assumes
the service-cloud-itsm-teams-integration Go feature is already enabled.
Execute one step at a time. These steps make real, state-changing API calls. Run a single operation, show its result, confirm it succeeded, then proceed — do not batch multiple setup calls into one parallel block.
Workflow
Step 1 — Turn on Salesforce IT Desk
This is a straight org-preference toggle (unlike ITSMTeamsEnabled, this one supports direct
PATCH) — enable it yourself via API, do not ask the user to click the Setup toggle:
mcp__headless-360__dispatch(
method: "PATCH",
url: "/services/data/v67.0/setup/org/preferences/OrgHasITSMFulfillerTeams",
body: { "desiredState": true }
)
Expect 200 {"isPreferenceEnabled": true}. Tell the user it's enabled — do not ask them to flip
the toggle themselves.
Step 2 — Install Salesforce IT Desk App on Teams (user's responsibility)
There is no Salesforce or Microsoft API this skill can call to install a Teams app into a tenant's app catalog — this always requires a human clicking "Add" in the Microsoft Teams admin center / AppSource, signed in with sufficient tenant permissions. Give the user the exact marketplace link and help doc; do not attempt to automate this step.
- Marketplace (verified live from the Go page's "Go to Microsoft Marketplace" button):
https://marketplace.microsoft.com/en-us/product/teams-app/WA200009869?tab=Overview - Help doc:
https://help.salesforce.com/s/articleView?id=service.it_srvce_msteams_cnfig_fulfilerhub_app.htm&type=5
Print both together so the user has a self-service reference alongside the install link. Also tell
the user that the Azure/Microsoft account email the fulfiller signs into Teams with must match
that Salesforce user's email / Username — SSO resolves the Microsoft UPN to the Salesforce
Username, so a mismatch causes a silent login failure.
Then HALT and wait for the user to confirm the app is installed (they reply "installed"). This is a human-only action; do not proceed to Step 3's user-access assignment as if it were done, and do not fabricate the confirmation — wait for the real reply.
Step 3 — Manage User Access
"Manage User Access" ("Manage" button on the Go page) assigns two permission sets — verified live from the "Manage Microsoft Teams for Employee Service User Access" dialog:
TeamsForITSrvcsUser(label "Microsoft Teams for IT Services", backed by PSLTeamsForITSrvcsPsl)MicrosoftGraphAccess(label "MicrosoftGraphAccess") — assigned alongside it in the same dialog.
A third, "login" permission set is also required — one you provision once per org. The two
dialog permsets provision the IT Desk surface but do not let the fulfiller sign in: both read
PermissionsApiEnabled = false, so the embedded app's Connect calls 403 and login fails with
"server not reachable." The fulfiller needs a permission set carrying the API Enabled system
permission. Some orgs already have one named Teams_Employee_ApiAccess (a custom permset — do
not assume a fresh customer org has it); otherwise create it. It is a shared, org-wide
artifact — the same permset also covers IT Service login, so create it only once and just
assign it wherever needed. The resolve-or-create-then-assign recipe is in
Login prerequisite below. Do
this as part of this step; don't wait for login to break.
Do not just assign every active user. Ask the user which specific user(s) should get access. If they want to see the list of users first (rather than naming them), page it — show at most 10 users per page, then ask "want to see more?" before showing the next page, since orgs can have hundreds or thousands of users:
mcp__headless-360__dispatch_readonly(
method: "GET",
url: "/services/data/v67.0/query",
queryParams: { "q": "SELECT Id, Name, Username, Email FROM User WHERE IsActive = true ORDER BY Name LIMIT 10 OFFSET <page * 10>" }
)
Verified gotcha: in scratch/test orgs (and possibly some real orgs), the first page(s) of
this query are often dominated by non-employee system/integration accounts — e.g. Automated Process, Bot User, Insights Integration, *.ext integration users, ESW_* / *Site Guest User guest users, and DigitalAgent.* agent users. When presenting a page to the user, flag
these as likely-not-employee accounts (don't silently filter them out of the list — the user may
still want one assigned — but call out which rows look like system accounts so the user doesn't
have to guess). If the user says a listed batch is "not employee users, skip," move on to the
next page rather than assigning any of them.
Once the user confirms specific user(s), look up the two dialog permission sets' Ids (they are
stable per org but don't hardcode them — query fresh; the third "login" permset is resolved in the
Login prerequisite below):
mcp__headless-360__dispatch_readonly(
method: "GET",
url: "/services/data/v67.0/query",
queryParams: { "q": "SELECT Id, Name FROM PermissionSet WHERE Name IN ('TeamsForITSrvcsUser','MicrosoftGraphAccess')" }
)
Then assign both permission sets to each confirmed user via PermissionSetAssignment (one record
per user/permset pair — batch with as many calls as needed, there is no bulk-assign endpoint
exposed here):
mcp__headless-360__dispatch(
method: "POST",
url: "/services/data/v67.0/sobjects/PermissionSetAssignment",
body: { "AssigneeId": "<user id>", "PermissionSetId": "<permission set id>" }
)
Verify by re-querying PermissionSetAssignment for that AssigneeId, or simply trust the 201
from the assignment call plus a SELECT ... FROM PermissionSetAssignment WHERE AssigneeId = '<user id>' AND PermissionSetId = '<permset id>' readback.
Login prerequisite — provision the login permission set (verified)
With only TeamsForITSrvcsUser + MicrosoftGraphAccess the IT Desk surface is provisioned, but a
fulfiller who opens the IT Desk app in Teams hits "server not reachable" on the login page. The
verified blocker is API Enabled: both dialog permsets read PermissionsApiEnabled = false
(verified live), so the embedded app's Connect calls 403. Assigning the fulfiller a permission set
with PermissionsApiEnabled = true resolves the login. That permset is org-wide, created once
and shared with IT Service — resolve-or-create, then assign:
- Reuse if it already exists (an API-Enabled permset — commonly
Teams_Employee_ApiAccess):SELECT Id, Name, PermissionsApiEnabled FROM PermissionSet WHERE Name = 'Teams_Employee_ApiAccess'. If found withPermissionsApiEnabled = true, take itsIdand skip to step 3. - Otherwise create it once (
PermissionsApiEnabledis createable — verified):
Capture the returnedmcp__headless-360__dispatch( method: "POST", url: "/services/data/v67.0/sobjects/PermissionSet", body: { "Name": "Teams_Employee_ApiAccess", "Label": "Teams Employee API Access", "PermissionsApiEnabled": true } )Id. Because it's shared org-wide, don't recreate it if a later run (or the IT Service skill) already made it — step 1's query is the guard. - Assign it to each confirmed fulfiller, alongside the two dialog permsets:
mcp__headless-360__dispatch( method: "POST", url: "/services/data/v67.0/sobjects/PermissionSetAssignment", body: { "AssigneeId": "<user id>", "PermissionSetId": "<login permset Id>" } )
After assigning, have the user fully close and reopen the Teams app (the OAuth authorize is
cached client-side). Also confirm CORS Allowed Origins contains both https://teams.cloud.microsoft
and https://cdn.scs.static.lightning.force.com (SELECT UrlPattern FROM CorsWhitelistEntry).
The ServiceCloudMSTeamsEca External Client App that backs Teams login is auto-installed by the
Go-page toggle and needs no configuration — Teams_Employee_ApiAccess grants API Enabled and is
unrelated to the ECA. Do not add SetupEntityAccess rows or change the ECA's OAuth policy.
If login still fails in a fresh session after the API-Enabled permset is assigned, the remaining
suspect is the "Allow OAuth for employees" profile checkbox (Setup-UI-only — no API write path).
See service-itsm-teams-itservice-configure's Login prerequisites for the full pass/fail
diagnostic chain.
Step 4 — Set Teams as Collaboration Tool for Swarming (delegate)
This 4th checklist item requires the service-cloud-swarming Go feature to be enabled first.
Do not enable that feature inline here — invoke the dedicated
service-itsm-swarming-configure skill instead of duplicating feature-enablement logic:
Invoke the service-itsm-swarming-configure skill.
That skill enables service-cloud-swarming and writes SWARM_COLLABORATION_TOOL to "Teams"
via PATCH /services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL — this checklist item
is now fully automated end-to-end, no manual "Go to Feature Page" click required.
Gotchas
| Issue | Detail |
|---|---|
| Requires the Teams Salesforce Go page feature first | OrgHasITSMFulfillerTeams does not gate or depend on ITSMTeamsEnabled directly, but the Go page checklist only appears once service-cloud-itsm-teams-integration is enabled — run service-itsm-teams-configure first. |
OrgHasITSMFulfillerTeams does not unblock ITSMTeamsEnabled | These are separate bits — enabling this preference does not itself unblock the Teams Salesforce Go page toggle preference, and vice versa. |
"Set Teams as Collaboration Tool for Swarming" needs service-cloud-swarming enabled first | Delegate to service-itsm-swarming-configure rather than enabling that feature inline. That skill both enables the feature and writes SWARM_COLLABORATION_TOOL to "Teams" — the whole checklist item is API-reachable, not just the base feature enable. |
| Permission sets / PSLs | TeamsForITSrvcsUser, MicrosoftGraphAccess (permission sets) and PSL TeamsForITSrvcsPsl auto-provisioned and were confirmed Active (10 licenses) immediately after the feature-enable in this session — no manual PSL/permset creation needed once TeamsITSrvcsAddOn+IncidentManagementAddOn are licensed. |
| Manage-User-Access permsets don't cover login — assign an API-Enabled permset | Verified: after assigning TeamsForITSrvcsUser + MicrosoftGraphAccess, the IT Desk agent still failed Teams login with "server not reachable" — both dialog permsets have PermissionsApiEnabled = false, so the embedded app's Connect calls 403. The fix is an API-Enabled permission set (PermissionsApiEnabled = true), commonly Teams_Employee_ApiAccess — a custom, org-wide permset shared with IT Service, so create it once then assign. A test org may already have it; a fresh customer org won't, so resolve-or-create. (The ServiceCloudMSTeamsEca ECA is auto-installed by the Go-page toggle and needs no configuration — it does not gate login and Teams_Employee_ApiAccess is unrelated to it.) See Step 3 → Login prerequisite. |
| Version prefix required | headless-360 dispatch/dispatch_readonly do not resolve API versions — always pass the full /services/data/vXX.0/... prefix. |
Related Skills
| Skill | When to use instead / alongside |
|---|---|
service-itsm-teams-configure | Enabling the base Teams Salesforce Go page toggle, Azure/Entra app registration, Named Credential population, and Teams extension registration — a prerequisite for this skill |
service-itsm-teams-itservice-configure | The IT Service/employee half of the checklist (Turn on IT Service, Install IT Service app, Manage User Access, Select a Digital Experience Site) |
service-itsm-swarming-configure | Enabling the service-cloud-swarming Go feature for "Set Teams as Collaboration Tool for Swarming" — this skill delegates to it rather than duplicating that logic |
service-itsm-channels-coordinate | Top-level menu across Teams, Slack, Swarming, Notifications, Portal |
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/forcedotcom/sf-skills/service-itsm-teams-itdesk-configure">View service-itsm-teams-itdesk-configure on skillZs</a>