Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Describes the currently active Microsoft 365 Copilot agent — returned by getCurrentAgent.
Properties
| Name | Type | Description |
|---|---|---|
agentId |
string \| null |
The unique identifier of the active agent, or null if the user is on mainline Microsoft 365 Copilot. |
mode |
M365CopilotAgentMode \| null |
How the agent is being referenced, or null when no agent is active. |
Remarks
agentId and mode work together:
agentId= string,mode="agentPage"or"mentioned": an agent is active.agentId=null,mode=null: the user is explicitly on mainline Microsoft 365 Copilot.