Skip to main content

Notifications

Publish & Channel Management
Answered

Error AccessToBotDenied Copilot

Posted on by 8

In Copilot studio, I was able to follow the steps to create a copilot that is connected to a SharePoint site as a source.
https://www.youtube.com/watch?v=2-VYwC6Akiw

 

With my global admin account, in the SharePoint site, I can query the content of the site. However when I connect with another regular user account (read or write on the site), it gets the error 'AccessToBotDenied' after entering the code.

 

For all users to use a bot (Copilot), do we need to give them specific permissions, licences?

Categories:
  • YassineI Profile Picture
    YassineI 46 on at
    Re: Error AccessToBotDenied Copilot

    It was correctly shared, the issue was comming from the "Chatbot" Control in Canvas App. It takes an hardcoded params "Environment ID". The bot displayed in the UAT app was the DEV bot and for obvious reasons the DEV one was not shared with the users. 

  • LFSiGue Profile Picture
    LFSiGue 2 on at
    Re: Error AccessToBotDenied Copilot

    "The definitive solution involved granting permissions in Copilot Studio. Under the Security menu, not only follow video instructions granting permissions at authentication option, also select 'Share' and grant permissions to all tenant members."

  • YassineI Profile Picture
    YassineI 46 on at
    Re: Error AccessToBotDenied Copilot

    Hi @adilei !

    Does the App registration also need to be setup when we embed our copilot studio in Canvas App via the "Chatbot" control ?

  • KTNN0 Profile Picture
    KTNN0 8 on at
    Re: Error AccessToBotDenied Copilot

    I'm sharing the updated steps to follow how to create a chatbot on a SharePoint page.

    Copilot Bot for SharePoint | KTNN SharePoint (wordpress.com)

  • Verified answer
    adilei Profile Picture
    adilei on at
    Re: Error AccessToBotDenied Copilot

    Yes, permissions are necessary. See here: Share and collaborate on copilots with other users (contains video) - Microsoft Copilot Studio | Microsoft Learn

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard

Featured topics