Skip to main content
Community site session details

Community site session details

Session Id : X3/2x6aF7+VkAygQWNNJET
Copilot Studio - Publish & Channel Management
Answered

When using a Dataverse for Teams chat bot, do all users need adding to the team?

Like (0) ShareShare
ReportReport
Posted on 3 Sep 2021 15:55:23 by 24

Can anyone advise please?  I've been unable to determine for sure if this is a requirement from reading the documentation. Ideally I would like to do this, so that users don't need to have an extra team in their list and the user can go straight to the chatbot from the: Apps, Built for your organisation place.

 

I have submitted my chatbot for admin approval in the PVA studio. Then in the Teams Admin Module,  I've approved the chatbot (in manage apps), and added the bot as an allowed custom app in the permission policy.

 

Users are able to install and engage with the bot, but they receive the response "Sorry, you don't have access to talk to the bot".

 

If I add the user to the team the problem does not occur.

 

Am I missing something? Do the users still need to be added to the team's environment even though they aren't in the team perhaps?

 

Any help appreciated, thanks Andrew.

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on 08 Sep 2021 at 19:40:14
    Re: When using a Dataverse for Teams chat bot, do all users need adding to the team?

    Hi @andrew_b1,


    Thanks for the update. Great to hear that it finally works now 🙂

  • andrew_b1 Profile Picture
    24 on 08 Sep 2021 at 19:38:22
    Re: When using a Dataverse for Teams chat bot, do all users need adding to the team?

    I eventually managed to overcome the problem of adding bot to the Teams permission policy and found that your (Expiscornovus ) suggestions worked.  I think it was still added to team - I was initially using the Full Dataverse version of PVA studio to edit the bot where this isn't as obvious to see.


    So my DfT chatbot is now working properly for users who are not added to the Team. 😀

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on 06 Sep 2021 at 14:34:20
    Re: When using a Dataverse for Teams chat bot, do all users need adding to the team?

    Hi @andrew_b1,

     

    If the publishing status of the app is published and it is marked as a custom app in the manage apps overview I would also expect you would be able to add it to your custom app permission policy.

     

    publishedstatus_allowed.png

  • andrew_b1 Profile Picture
    24 on 06 Sep 2021 at 13:51:44
    Re: When using a Dataverse for Teams chat bot, do all users need adding to the team?

    Thanks for your suggestion Expiscornovus. I have tried re-publishing and ensuring the bot isn't shared with the team. I am getting a different problem now, in that within Teams admin I am unable to add the bot to the permissions policy as a custom app (On trying to save I get the error We can't save the app permission policy right now. Try again. If you continue to have problems, contact Microsoft customer support.)  So perhaps I may have to do that.  NB the error doesn't go away if I add the bot back to teams. and I have encountered this when trying to add a full dataverse chat bot. it's just that initially I was able to add my DfT chatbot to the permission policy.

  • Verified answer
    Expiscornovus Profile Picture
    32,155 Most Valuable Professional on 03 Sep 2021 at 16:56:15
    Re: When using a Dataverse for Teams chat bot, do all users need adding to the team?

    Hi @andrew_b1,

     

    Is it also still shared with your team as well? I believe you need to remove that first.

    Publish and share your new chatbot - Learn | Microsoft Docs

     

    sharewithmyteamsetting.png

     

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on 03 Sep 2021 at 16:45:28
    Re: When using a Dataverse for Teams chat bot, do all users need adding to the team?

    Hi @andrew_b1,

     

    Thanks for checking. Did you also published after changing those access setting?

     

    I see a similar thread were they suggested the same thing:

    https://powerusers.microsoft.com/t5/General/Sorry-you-don-t-have-access-to-talk-with-the-bot/m-p/741327

     

  • andrew_b1 Profile Picture
    24 on 03 Sep 2021 at 16:22:50
    Re: When using a Dataverse for Teams chat bot, do all users need adding to the team?

    Yes. In the PVA studio under security, access I have set to Everyone in my Organization

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on 03 Sep 2021 at 16:15:44
    Re: When using a Dataverse for Teams chat bot, do all users need adding to the team?

    Hi @andrew_b1 

     

    Just to double check, have you configured access to everyone in your organisation?

    Configure access and authentication - Power Virtual Agents | Microsoft Docs

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 1

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75

Featured topics

Loading complete