Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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.