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

Community site session details

Session Id :
Copilot Studio - Publish & Channel Management
Unanswered

How to allow external users to chat with my agent?

(1) ShareShare
ReportReport
Posted on by 5
Hello,
 
I have developed an agent in Microsoft Copilot Studio and would now like to integrate it into my web application. During development, I used the default “Authenticate with Microsoft” option under the security settings.
However, since the target users belong to a child Azure AD B2C tenant (different from the tenant where the agent is hosted), I need to configure custom authentication.
 
Based on available documentation and this community blog, this setup should be done using the “Manual Authentication” option with a Generic OAuth 2.0 provider.
I configured the settings using the B2C OAuth 2.0 endpoints (with a policy), and the authentication flow appears to work correctly — users can log in, receive the authorization code, and the bot displays the greeting message.
The issue arises when a user tries to sends a message. Agent instantly responds with “You don’t have access to talk to this bot. Contact the owner. Error code: AccessToBotDenied.
 
My question is: Is it possible to allow users outside my organization (e.g., from a child B2C tenant) to interact with the Copilot Studio agent?
If yes, what is the correct configuration or recommended approach to enable this scenario?
 
Thank you in advance for your help.
Categories:
I have the same question (1)
  • Inogic Profile Picture
    1,105 Super User 2025 Season 2 on at
    How to allow external users to chat with my agent?
    Hi,
     
    1. If the agent was added directly using the “See agent in Teams” option:

    Option 1: Publish the latest changes
    After editing your agent in Copilot Studio, make sure to click Publish (top-right corner).
    Wait until the publishing process completes — your changes should appear in Teams shortly after.

    Option 2: Clear Teams cache
    Teams sometimes caches the bot manifest or conversation state, which can delay updates.
    Try the following steps:
    - Close Teams completely.
    - Clear the Teams cache.
    - Reopen Teams and test your bot again.

    Alternatively, open Teams Web (teams.microsoft.com) to check if the issue persists. This helps confirm whether it’s a local caching problem.

    2. If the agent was added through admin approval (Built for your organization scenario):
    In this case, any updates to the agent require resubmission for admin approval before changes appear for users.

    i) After publishing your updates in Copilot Studio, resubmit the app for approval.
    ii) In the Teams Admin Center (admin.teams.microsoft.com), your admin must review and approve the updated version.
    iii) Once approved, the changes will reflect in Teams for all users in the organization.
     
    Hope this helps.
     
    Thanks!
    Inogic
  • NV-29101155-0 Profile Picture
    5 on at
    How to allow external users to chat with my agent?
    Thank you for the reply!
    My goal is to integrate the agent in fully independent external application not associated with any Microsoft product like Teams. The issue that I have is that if I select 'No Authentication' in the settings of the agent, some crucial tools don't work (e.g. 'Prompt' tool). This forces me to use some authentication, but seems like that results that the agent enforces the user to be part of the organization where the copilot studio is active. However the users 'live' in child B2C tenant.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Copilot Studio

Last 30 days Overall leaderboard

Featured topics