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 Des

By forcedotcom · 1,123 installs

npx skills add forcedotcom/sf-skills --skill service-itsm-teams-itdesk-configure

Source repository · Upstream listing

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 OrgHasITSMFulfillerTeams preference; giving the user the exact Teams marketplace link + help doc for the IT Desk app install; assigning TeamsForITSrvcsUser / MicrosoftGraphAccess permission 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" to service 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 — use service itsm teams configure (a prerequisite for this skill). The IT Service/employee half of the checklist — use service itsm teams itservice configure . Enabling the service cloud swarming Go feature itself — delegate to service 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: 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): 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 PSL TeamsForITSrvcsPsl ) 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]( login prerequisite provision the login permission set verified) 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: 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' Id s (they are stable per org but don't hardcode them — query fresh; the third "login" permset is resolved in the Login prerequisite below): 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): 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: 1. 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 with PermissionsApiEnabled = true , take its Id and skip to step 3. 2. Otherwise create it once ( PermissionsApiEnabled is createable — verified): Capture the returned 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. 3. Assign it to each confirmed fulfiller, alongside the two dialog permsets: 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: 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]( login prerequisite provision the login permission set verified). 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