Skip to main content

71 posts tagged with "Microsoft 365 Agents SDK"

Microsoft 365 Agents SDK for Building Intelligent Agents

View All Tags

Fixed: "theme": "default" in a Teams task/fetch Request While Teams Is in Dark Theme

· 11 min read
Jagdish Kumawat
Founder @ Dewiride

My agent's Teams dialog page took its colors from the theme Teams sends in the task/fetch request. With Teams in Dark theme, that request still said "theme": "default", so the page showed dark text on Teams' dark dialog. The fix is to read the theme in the page itself, with the Teams JavaScript library.

Fixed: "If You're Having Issues with This App, Try the Desktop Version" in a Teams Dialog

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

A Teams dialog that should have shown a web page stayed empty, and a few seconds later Teams on the web put a warning over it: If you're having issues with this app, try the desktop version, with an Open In Desktop button. The page was fine. Its domain was missing from the app's manifest, so Teams never loaded it.

How to Show an Error in a Teams Dialog in the Microsoft 365 Agents SDK in C#

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

Teams checks a dialog's required fields by itself, but only your agent knows its own rules: a room that holds 8 people, a budget, a date that's already taken. When a rule fails, the dialog should stay open and say what to fix, without making the person type everything again. In the Microsoft 365 Agents SDK, your agent answers the submit with the same form, the problem and the values.