SharePoint agents and Copilot
AI and Copilot

Upgrade Sharepoint Agents

In brief

The documentation now links Agent Chat web part references to the Microsoft Support article instead of the roadmap entry. It continues to state that .agent files stop working after March 2027.

What SharePoint admins need to know

Review .agent-based agents before March 2027; update affected SharePoint pages and publishing configurations as documented.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

No, only the .agent file format is being retired. You can continue to deliver named conversational experiences and focused site tasks grounded in SharePoint content through Copilot in SharePoint and Microsoft Copilot Agent Builder.

How these agents are incorporated back into SharePoint will change with the Agent Chat web part (coming soon)Agent Chat web part as the primary experience. Agents saved as .agent files will stop working after March 2027.

Why is Microsoft making this change?

This change applies to agents stored as .agent files in SharePoint or OneDrive. You might currently use these agents in the SharePoint chat pane, through the Agent Link web part, in the agent immersive viewer, in a Microsoft Teams chat or channel, or in the Copilot app.

You don't need to recreate Copilot Studio agents published to SharePoint because of this change. Review their publishing configuration and publish them to Microsoft Copilot app to make them available to the Agent Chat web partAgent Chat web part for display.

Do I need to take action immediately?

Agents created through Microsoft Copilot Agent Builder can be used across supported Microsoft 365 experiences, including Copilot app, Teams, and SharePoint. Users can monitor agents in this builder, and administrators can govern, analyze, and manage agents through Microsoft Agent 365.

In SharePoint, site owners can bring agents directly to their audience by adding them to the pages where people need them using the Agent Chat web partAgent Chat web part. Site owners control where these agents appear as part of the overall site experience. Usage by unlicensed users is consolidated under Copilot app pay-as-you-go (PAYG).

Note

To upgrade:

  1. Select Upgrade to Microsoft 365 agent to confirm. Teams and Copilot app automatically use the upgraded agent.

    • If you plan to add the agent to a page Agent Chat web partAgent Chat web part, select Move file to Recycle bin.
    • If you want to continue using the .agent file configuration as the main agent for the site until March 2027, through an Agent Link web part open in the SharePoint chat pane, don't select Move file to Recycle bin.
  2. On a successful upgrade, the agent uses Microsoft Copilot Agent Builder for all future updates. You can no longer edit the original .agent file and it won't be changed by Microsoft Copilot Agent Builder.

  3. If you shared the original agent with everyone in the organization, this access continues in the upgraded agent. Otherwise, the agent is private to you and you can share it to the necessary Microsoft 365 groups. Verify that users who need the agent can access both the agent and the selected knowledge sources.

    To direct users to the upgraded agent instead:

  • If the original agent is on a SharePoint page through a link or the Agent Link web part, update the page to use Agent Chat web partAgent Chat web part, instead.
  • Upgraded agents can't be used in the site's chat pane, so you won't be able to set one as the main agent for the site. Instead, add the Agent Chat web partAgent Chat web part to a page, so it's prominent on the site and set the main agent as Copilot.
  1. In the Copilot app, the upgraded agent automatically loads when requested.
  2. In a Teams chat or channel, the agent is upgraded but needs to be re-added to the chat or channel. Remove the agent that's in the chat or channel now, then add the agent again by copying the sharing link and posting it to the chat or channel.

If you have a .agent file that resulted from publishing a custom engine agent created in Copilot Studio to the SharePoint channel, you don't need to rebuild it as a Microsoft Copilot Agent Builder agent.

To add these agents to the Agent Chat web partAgent Chat web part, you need to make them available to the Microsoft Copilot app and Teams channel. For more information about publishing, see Key concepts - Publish and deploy your agent - Microsoft Copilot Studio.

You can delete the .agent file after you add it to a SharePoint page by using the Agent Chat web partAgent Chat web part.

Copilot in SharePoint

To convert to a skill, you need Copilot in SharePoint available on the site.

What happens to existing links and placements?

In SharePoint, update the page to use Agent Chat web partAgent Chat web part. Note that the upgraded agent can't be used in the site's chat pane, so you won't be able to set it as the Main agent for the site. Set the Main agent to be Copilot after adding the upgraded agent to a page.

In Copilot app, the upgraded agent automatically loads when requested. OneDrive users should use Copilot app to use their agents.

Users can discover declarative agents and Copilot Studio agents through supported Microsoft 365 experiences, including the plugin store, Microsoft Copilot app, and Teams.

SharePoint site owners can place relevant agents directly on pages through the Agent Chat web partAgent Chat web part (coming soon).

Users discover and use skills through Copilot in SharePoint and can highlight them with Quick Steps, Button web part, or other site entry points.