web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Unable to add AI searc...
Copilot Studio
Suggested Answer

Unable to add AI search Index as knowledge to the Copilot Studio Agent

(1) ShareShare
ReportReport
Posted on by 8
Hi All,
 
From last few days we have been facing issues while attaching AI search Index as a knowledge to Copilot Studio Agent. Below are the steps which are followed.
 
  • Create a Copilot Studio Agent
  • On the overview pane, using '+Add Knowledge" option
  • Create a connection to AI Search Service (This was successfully created) and the Preview also works
  • When adding this Index to the Agent we get below Error:
Categories:
I have the same question (0)
  • MichaelFP Profile Picture
    2,001 Moderator on at
    Try to repeat again the process, but use the developer toolbar on your browser, using the network tab, and paste here the log details on failure requests.
     
  • SNPSachinSahu Profile Picture
    8 on at
    Hi @MichaelFP,
    Thank you for acknowledging.

    Below is the error captured from the Network tab. Could you let us know if any specific roles or permissions are now required on the Dataverse? This is something we were able to do previously without issues, so we want to confirm whether there has been a recent change in the permissions model.

           "Code": "DataverseUnAuthorized",
            "Message": "HTTP Status:Forbidden, ServiceRequestId: 041679ff-e08d-409a-8273-29015ee57b17 [0x80048306:unManagedIdsAccessDenied] user with id b2899779-2d3e-f111-88b4-000d3a3ace47 does not have AppendToAccess right(s) for record with id 800f4e02-303e-f111-88b4-000d3a3ace47 of entity Agent. Consider assigning a role with the level BusinessUnitLevel to the user or team. For further troubleshooting, please work with a system administrator to use the Access Checker tool on this record: https://orgbb1ea23d.crm.dynamics.com/main.aspx?forceUCI=1&pagetype=entityrecord&etn=bot&id=800f4e02-303e-f111-88b4-000d3a3ace47. More details: 
  • Suggested answer
    Valantis Profile Picture
    6,735 on at
     
    The error message: the user doesn't have AppendToAccess right on the bot (agent) entity in Dataverse. This is a Dataverse security role issue, not an AI Search configuration issue.
     
    When you add a knowledge source to an agent, Copilot Studio writes a relationship record that links the knowledge source to the agent entity (bot table) in Dataverse. The AppendTo privilege is required on the bot table for this write operation to succeed. The user hitting this error is missing that privilege.
    The fix: the user needs a security role with at least Business Unit level AppendTo privilege on the bot (agent) Dataverse entity.
     
    Microsoft docs confirm that to author agents, users need the Environment Maker role or an equivalent role that includes the required Dataverse permissions for agent tables. If the user has a custom security role or a restricted role, it likely doesn't include AppendTo on the bot entity.
     
    To fix this:
    1. Go to Power Platform Admin Center > your environment > Users > find the user
    2. Check their assigned security roles
    3. Either assign the Environment Maker role, or if you're using a custom role, add AppendTo privilege on the bot entity at Business Unit level or higher
     
    The error says it started happening recently despite working before. This points to a permission change in the environment rather than a configuration change in the agent or AI Search. Check if any security roles were modified or if the user was moved to a different business unit recently.
     
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard