service-itsm-teams-debug
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTroubleshoot Microsoft Teams for Employee Service (ITSM)
排查Microsoft Teams for Employee Service (ITSM)故障
When someone reports a Microsoft Teams for Employee Service failure — can't log in, a tab
won't load, the feature isn't showing, the Agentforce agent won't reply, swarming or SSO is
broken — this skill connects to the org, runs the pass/fail checklist for that specific
problem, and reports each setting's actual value plus the exact Setup path to fix any that are
wrong. It replaces "check every setting by hand" with a targeted, verified diagnosis.
Every read dispatches through headless-360 ( for queries, only
for the optional swarming-token clear). No org password is needed.
dispatch_readonlydispatch当有人报告Microsoft Teams for Employee Service故障——无法登录、标签无法加载、功能未显示、Agentforce代理无响应、协同排查(swarming)或SSO失效时,该技能会连接到组织,针对特定问题运行通过/失败检查清单,并报告每个设置的实际值以及修复错误设置的确切配置路径。它将“手动检查所有设置”替换为针对性的、经过验证的诊断流程。
所有读取操作均通过headless-360执行(查询使用,仅在可选的协同排查令牌清除操作中使用)。无需组织密码。
dispatch_readonlydispatchScope
适用范围
- In scope: Diagnosing an already-attempted Teams ITSM setup that is failing. Routing the reported symptom to the right checklist and checking the exact settings it requires (CORS, External Client App, feature toggles, PSLs, profile session settings, auth provider, named credentials, messaging channel, Agentforce agent).
- Out of scope: First-time enablement (use /
service-itsm-teams-configure/-itservice-configure), building the embedded agent from scratch (use-itdesk-configure), and non-Teams Salesforce debugging.service-itsm-teams-employee-agent-configure
Read-only by default. Every check is aquery — running the full checklist changes nothing. The only state-changing action is the optional swarming OAuth-token clear at the very end, and only with explicit user confirmation.dispatch_readonly
- 适用场景: 诊断已尝试配置但出现故障的Teams ITSM设置。将报告的症状路由至对应的检查清单,并检查该场景所需的具体设置(CORS、External Client App、功能开关、PSL、配置文件会话设置、身份验证提供者、命名凭据、消息通道、Agentforce代理)。
- 不适用场景: 首次启用(请使用/
service-itsm-teams-configure/-itservice-configure)、从头构建嵌入式代理(请使用-itdesk-configure)以及非Teams的Salesforce调试。service-itsm-teams-employee-agent-configure
默认只读模式。 所有检查均为查询——运行完整清单不会更改任何内容。唯一会改变状态的操作是在最后可选的协同排查OAuth令牌清除,且仅在用户明确确认后执行。dispatch_readonly
Step 1 — Identify the problem and collect inputs
步骤1 — 识别问题并收集输入信息
Ask the user for their problem description if not already given. Match it to a checklist using
the Feature Map in .
references/configuration-checklists.mdSome problems need extra inputs — ask for them up front:
| Problem type | Extra input to collect |
|---|---|
| Generic "login" (no app named) | Ask which app — IT Desk or IT Service |
| IT Desk login | End-user's Salesforce username (the person who can't log in) |
| IT Service login | CCP or UEL user?, then that end-user's Salesforce username |
| Agentforce not replying | Employee Experience Site URL |
| Swarming | End-user's username; Azure AD Tenant ID (optional — enables the Azure app check) |
| SSO | Azure AD Tenant ID (optional); optionally which app + end-user username |
Do not run the agent-specific checks until you have the mandatory inputs for that checklist
(e.g. don't skip asking for the end-user username on a login issue — the per-user checks are
without it).
MANUAL_CHECK_REQUIRED如果用户未提供问题描述,请询问其问题详情。使用中的功能映射表将问题匹配到对应的检查清单。
references/configuration-checklists.md部分问题需要额外输入信息——请提前询问:
| 问题类型 | 需要收集的额外信息 |
|---|---|
| 通用“登录”问题(未指定应用) | 询问具体是哪个应用——IT Desk还是IT Service |
| IT Desk登录问题 | 无法登录的终端用户的Salesforce用户名 |
| IT Service登录问题 | 是CCP还是UEL用户?,然后询问该终端用户的Salesforce用户名 |
| Agentforce无响应 | 员工体验站点URL |
| 协同排查(swarming)问题 | 终端用户的用户名;Azure AD 租户ID(可选——启用Azure应用检查) |
| SSO问题 | Azure AD 租户ID(可选);可选指定应用及终端用户用户名 |
在获取对应检查清单的必填输入信息前,请勿运行代理特定的检查(例如,登录问题不要跳过询问终端用户用户名——没有该信息时,针对用户的检查将标记为)。
MANUAL_CHECK_REQUIREDStep 2 — Route to the checklist
步骤2 — 路由至对应检查清单
Pick the checklist from the Feature Map, then run its checks in order from
:
references/configuration-checklists.md| Symptom | Checklist |
|---|---|
| IT Desk login | |
| IT Service login — UEL user | |
| IT Service login — CCP user | |
| Generic login (app unknown) | |
| Feature not showing / not enabled | |
| Tab won't load (CI Hub, Service Catalog, Employee Enablement, My Assets) | |
| Lightning app not embedding / blank tab | |
| Agentforce agent not replying | |
| Swarming | |
| Single Sign-On | |
When an app is named for an SSO issue, run both the checklist and the matching login
checklist ( / / ) — skip duplicate checks.
SSOLOGIN_DESKLOGIN_SERVICE_CCPLOGIN_SERVICE_UEL从功能映射表中选择检查清单,然后按顺序运行中的检查项:
references/configuration-checklists.md| 症状 | 检查清单 |
|---|---|
| IT Desk登录 | |
| IT Service登录——UEL用户 | |
| IT Service登录——CCP用户 | |
| 通用登录(未知应用) | |
| 功能未显示/未启用 | |
| 标签无法加载(CI Hub、服务目录、员工启用、我的资产) | |
| Lightning应用无法嵌入/标签空白 | |
| Agentforce代理无响应 | |
| 协同排查(swarming) | |
| 单点登录(SSO) | |
如果SSO问题指定了应用,请同时运行**检查清单**和匹配的登录检查清单( / / )——跳过重复检查项。
SSOLOGIN_DESKLOGIN_SERVICE_CCPLOGIN_SERVICE_UELStep 3 — Run the checks
步骤3 — 执行检查
Execute each check's query via (queries and API fields are spelled out in the
reference). Record for each check: a status and the configured value actually read from
the org.
dispatch_readonly| Status | Render as | Meaning |
|---|---|---|
| OK | Correctly configured |
| FAIL | Needs fixing — include the exact Setup path from the reference |
| MANUAL | Needs manual verification (or a missing optional input like Tenant ID/username) — never render this as FAIL |
通过执行每个检查项的查询(查询语句和API字段在参考文档中已明确列出)。记录每个检查项的状态和从组织中读取到的配置值。
dispatch_readonly| 状态 | 显示为 | 含义 |
|---|---|---|
| OK | 配置正确 |
| FAIL | 需要修复——包含参考文档中的确切配置路径 |
| MANUAL | 需要手动验证(或缺少可选输入信息,如租户ID/用户名)——切勿标记为FAIL |
Step 4 — Report
步骤4 — 生成报告
Render a table with all four columns — , , , (never
omit the configured value), plus an note carrying the remediation for any
failed check. End with a one-line summary: .
#CheckStatusConfigured ValueAction RequiredN passed | N failed | N require manual verification- All passed: tell the user the Salesforce backend is correctly configured; if the problem persists, reload the Teams app (⋯ on the IT Desk/IT Service app → Reload app).
- Any failed: don't add the reload note — the per-check steps are the fix.
Action Required
The full report-rendering rules, special-case notes, the example report layout, and the optional
swarming OAuth-token clear are in
.
references/report-generation.md渲染包含全部四列的表格——、、、(切勿省略配置值),并为每个失败的检查项添加说明,包含修复方案。结尾添加一行总结:。
#检查项状态配置值所需操作N项通过 | N项失败 | N项需手动验证- 全部通过: 告知用户Salesforce后端配置正确;如果问题仍然存在,请重新加载Teams应用(点击IT Desk/IT Service应用上的**⋯** → 重新加载应用)。
- 存在失败项: 无需添加重新加载提示——每个检查项的步骤即为修复方案。
所需操作
完整的报告渲染规则、特殊情况说明、示例报告布局以及可选的协同排查OAuth令牌清除操作详情,请查看。
references/report-generation.mdGotchas (verified)
注意事项(已验证)
| Issue | Detail |
|---|---|
The Teams ECA DeveloperName is | The External Client App the login checks look for is |
| "Allow OAuth for employees" is Metadata-API-only for reading, and Setup-UI-only to change | Read via SOAP |
CORS check reads | Both |
| Feature toggles are read via the FulfillerApp permissions Connect API | |
| Agentforce user-verification fields need SOAP v62+ | |
| Version prefix required | headless-360 |
| 问题 | 详情 |
|---|---|
Teams ECA的DeveloperName为 | 登录检查查找的External Client App为 |
| “Allow OAuth for employees”仅可通过Metadata API读取,仅可通过配置UI修改 | 通过SOAP |
CORS检查读取 | 必须同时包含 |
| 功能开关通过FulfillerApp权限Connect API读取 | |
| Agentforce用户验证字段需要SOAP v62+ | SOAP v60会静默省略 |
| 需要版本前缀 | headless-360的 |
Related Skills
相关技能
| Skill | When to use instead |
|---|---|
| First-time enablement of the base Teams Go page toggle, Azure/Entra app, Named Credential, extension registration |
| Completing the IT Service (employee) enablement checklist |
| Completing the IT Desk (fulfiller) enablement checklist + Swarming collaboration tool |
| Building the embedded Agentforce agent from scratch so it replies in Teams |
| Top-level menu across Teams, Slack, Swarming, Notifications, Portal |
| 技能 | 替代使用场景 |
|---|---|
| 首次启用基础Teams Go页面开关、Azure/Entra应用、命名凭据、扩展注册 |
| 完成IT Service(员工)启用检查清单 |
| 完成IT Desk(处理者)启用检查清单 + 协同排查协作工具配置 |
| 从头构建嵌入式Agentforce代理,使其能在Teams中回复消息 |
| Teams、Slack、协同排查、通知、门户的顶级菜单 |