Loading...
Loading...
Configure the embedded Agentforce Employee Agent so it replies inside the Microsoft Teams ITSM custom client ('Salesforce Employee Assist' / 'Ask AI Agent'). Use this for: 'set up employee agent in Teams', 'embed Agentforce agent in Teams', 'make the IT Service Employee Agent reply in Teams', 'Teams Ask AI Agent not responding', 'agent joins then leaves without replying', 'configure MIAW deployment for Teams employee agent', 'Teams embedded messaging agent setup'. Builds the whole stack headlessly (zero Setup-UI clicks): the Web messaging channel with User Verification ON, the Enhanced Chat User Verification Key Set (JWKS_URL) it requires, the Teams_AgentForce custom-client deployment, the routing flow to the agent, and the Agent Access permission set that lets the portal user reach the agent. DO NOT TRIGGER for enabling the Teams feature Salesforce Go page toggle (service-itsm-teams-configure) or for configuring notification preferences.
npx skill4agent add forcedotcom/sf-skills service-itsm-teams-employee-agent-configureesDeveloperNameTeams_AgentForceservice-cloud-requestor-agent-miaw.configuration.jsonTeams_AgentForcereferences/teams-embedded-employee-agent.mdExecute 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.
PublicKeyCertificateSetJWKS_URL<Org>/id/keysTeams_AgentForcerouteWorkservice-itsm-teams-configureexperience-portal-createservice-itsm-teams-configureexperience-portal-createhttps://<org>.my.site.com/empPortalSELECT Id FROM BotDefinition WHERE Type='InternalCopilot' AND AgentType='AgentforceEmployeeAgent'ActiveBotVersionservice-cloud-it-service-employee-agentservice-itsm-agentic-setup-employee-agent-configureEmployeeCopilot__AgentforceEmployeeAgent| # | Requirement | Symptom if missing | Fix |
|---|---|---|---|
| 1 | Channel auth mode = Auth (User Verification ON) WITH a Key Set attached | | Attach a |
| 2 | Portal user has an Agent Access permission set enabling the IT Service Employee Agent | Tokens mint and SSE connects, but the agent joins then leaves with zero | Create + assign a permission set with Agent Access → the agent |
| 3 | The | | Metadata-deploy the |
This reverses an earlier version of this skill that told you to turn User Verification OFF and never attach a Key Set. That was diagnosed on a build that flipped auth ON but forgot the Key Set, so the Teams client used the unauthenticated endpoint and hit "Set the auth mode to false." The verified, product-blessed fix is auth ON + a JWKS_URL Key Set (screenshot-confirmed live), which puts the client on the authenticated token flow the channel expects.
service-itsm-teams-debugAGENTFORCEsfdx-project.json--api-version 67.0PublicKeyCertificateSet<type>JWKS_URL</type><jwksEndPoint><Org_Url>/id/keys<jwtIssuer>PublicKeyCertificateSet/.PublicKeyCertificateSet-meta.xmlJWKS_URLJwksMessagingChannelmessagingChannelType=EmbeddedMessagingsessionHandlerFlowsessionHandlerQueuechatqueue<embeddedConfig><authMode>Auth</authMode><messagingAuthorizations>…publicKeyCertificateSetName…</messagingAuthorizations></embeddedConfig>MessagingChannel.IsActive=trueRoute_To_MIAW_AEAsfdc_livemessageTeams_AgentForceesDeveloperNameAPITeams_AgentForce<messagingChannel>POST /services/data/v67.0/connect/embeddedservice/embeddedserviceconfig/publish/<esdId>{}isSuccess:trueSELECT Id FROM EmbeddedServiceConfig WHERE DeveloperName='Teams_AgentForce'POST /connect/service-itsm/createMessagingChannel| Skill | When to use instead |
|---|---|
| Enabling the Teams feature Salesforce Go page toggle + Azure/Entra app + SSO/Named Credentials — run first; it delegates here for the embedded agent |
| Creating the employee-service portal/site whose URL this skill consumes |
| Diagnosing why an already-built agent won't reply (or other Teams ITSM failures) — runs the |
| Top-level menu across Teams, Slack, Swarming, Notifications, Portal |