Skip to content
Let’s Talk
ANSWERS / MICROSOFT AND AI

How do I make an AI agent for SharePoint?

In SharePoint you can create an agent from a library, a list or a set of files you select, give it a name and instructions, and test it with questions before you share it. You need permission to edit the site and a Copilot licence or billing your organization has set up, and the agent answers each person only from content that person may already open.

The steps.

Open the library or the list the agent should answer from, and choose to create an agent. You can also select particular files or folders first, and the agent starts with those as its sources. Either way, you can then choose which sites, pages and files it draws on.

Give the agent a name, describe what it is for and write its instructions: what it should answer, in what tone and what it should do when the answer is not in its sources. Try it with a few questions, then save it.

The agent is saved in the site as a file. To share it, copy its link, and remember that the file’s permissions decide who can open it. A site also comes with a ready-made agent that answers from the whole site.

What the agent can and cannot see.

To create an agent you need permission to edit the site, and either a Copilot licence or billing for agents that your organization has set up. People who use the agent need one of those as well.

An agent does not widen anyone’s access. It answers each person only from content that person may already open, so two people can get different answers to the same question.

It also sees only the sources it was given. A document outside them does not exist as far as the agent is concerned.

How to make its answers better.

Choose fewer sources and keep them current. An agent pointed at a whole site answers from everything in it, including drafts and old versions.

Test with questions whose answers you know, including some the sources cannot answer, and read what comes back. Adjust the instructions, remove a source that misleads it and test again.

Look at it again whenever the documents change.

Also asked as
  • How to make an AI agent for SharePoint?
Related terms
Read more
Lessons

This is general guidance, not advice for your situation.