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 / Block agents in MS Tea...
Copilot Studio
Answered

Block agents in MS Teams only

(1) ShareShare
ReportReport
Posted on by 635
Hi,
 
is it possible to block agents in MS Teams only? We want users to only use the M365 Copilot UI to acess agents, but we do not want them to install agents in MS Teams.
 
Regards
Categories:
  • Suggested answer
    Arild Aarnes Profile Picture
    579 Super User 2026 Season 2 on at
    Hi @leo85,
     
    I do not think that is possible. They are treated as one channel in a Data Loss Prevention policy so I do not see any way to seperate them.



    I had a look in the Teams admin Center to see if there where some clever configuration to be done there but could not find any.
    Someone else will have to jump in if they have some way to prevent an agent to be used in Teams.
     
    Regards, Arild  
    👉 If this answered your question, please check the "Does this answer your question?" checkbox to help others with the same issue
  • Suggested answer
    11manish Profile Picture
    4,802 Super User 2026 Season 2 on at
    Yes, your requirement is achievable, and the cleanest approach is channel-specific governance: allow the agent at the Microsoft 365 Copilot level while restricting its Teams app availability through Teams administration.
  • Suggested answer
    S-Venkadesh Profile Picture
    1,227 Super User 2026 Season 2 on at
    Hi @leo85,

    To prevent end users from using the agent in Teams, follow these steps:

    Go to the Teams admin portal, then navigate to Teams apps > Manage apps > select your app > Users and groups > Availability > Edit availability > choose No one.
     

    ✔️ If this answered your question, please click “Does this answer your question?” so it can help others in the community too.
    🩵 If it helped, please give it a Like!
    Best regards, 
    S. Venkadesh
  • leo85 Profile Picture
    635 on at
    thanks for your reply. Could you please be more specific? What steps do I need to take?
    Regards
  • leo85 Profile Picture
    635 on at
     
    agents only show up in Teams Admin Center when they are published with the whole organization. 
     
    Will this also block users possbility to install it in teams via a link?
    When I block it this way, will it still be working in M365 Copilot?
     
    Reagrds
     
  • Verified answer
    Valantis Profile Picture
    7,545 Super User 2026 Season 2 on at
    Hi @leo85,
     
    Blocking in Teams Admin Center also blocks installation via direct link. Users can only install agents in Teams if Power Platform apps are allowed in your tenant, so blocking the app removes all Teams installation paths including links.

    On whether it still works in M365 Copilot: unfortunately no. As of 2026, app availability policies in Teams Admin Center and Microsoft 365 Admin Center are unified. Changes in one are automatically synced to the other, so blocking in Teams also blocks it in M365 Copilot.

    There's currently no supported way to allow the agent in M365 Copilot while blocking it specifically in Teams. The availability controls don't offer that level of channel-specific granularity.
     
      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
  • Arild Aarnes Profile Picture
    579 Super User 2026 Season 2 on at
    FYI in the new GitHub Copilot harness you can now choose to publish only to M365 Copilot only when first publishing an agent. Not sure when this showed up but just found this today when publishing a new agent.
     
     
    Regards, Arild  
    👉 If this answered your question, please check the "Does this answer your question?" checkbox to help others with the same issue

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 360

#2
Valantis Profile Picture

Valantis 253 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 184 Super User 2026 Season 2

Last 30 days Overall leaderboard