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 / Inactivity Trigger Beh...
Copilot Studio
Suggested Answer

Inactivity Trigger Behavior in Teams when published copilot studio agent

(0) ShareShare
ReportReport
Posted on by 2
Currently, the inactivity trigger sends a message even when the user is not actively interacting with the Teams agent for an hour.

- This results in users receiving inactivity messages when the agent window is not open, which can feel out of context.
- Ideally, inactivity messages should be sent only when the Teams agent window is open, so the user can see and respond while actively engaging with the agent.
- Sending inactivity messages outside of active usage may lead to:
  - Unnecessary notifications
  - User confusion about why the message was sent
  - A poor overall user experience
- From a UX perspective, inactivity messages should act as a nudge within an active session, not as an unsolicited message.

- If detecting whether the agent window is open is not technically feasible due to platform limitations, we may need to:
  - Revisit the inactivity trigger design
  - Consider alternative approaches such as explicit session-end handling or clearer conversation closure logic

Can someone please help me on this. Thanks in advance!!
I have the same question (0)
  • Suggested answer
    Sayali-MSFT Profile Picture
    Microsoft Employee on at
    Hello,
    No — it is not possible to detect whether the Teams agent window is open.

    This is a platform limitation of Teams and affects all Copilot Studio agents. 

    Because of this, the Inactivity Trigger will always fire after the configured period — even when:
    - the user closed the chat
    - Teams is not active
    - the user is not looking at the bot at all
     
    This is expected behavior, not a bug.

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