- Published on
- Authors
- koskila
M365 Agents SDK SSO broken - how to fix it?
There are a lot of ways SSO can break for your bot or agent on Teams/M365 Copilot/any other M365 app. I don't even know how to explain the extensibility in M365 now, so this word salad is what you get. Anyway in this article, I'll explain how to fix one of the possible ways your setup might be broken. Background I've been working on and off with M365 Agents SDK (and Teams Toolkit before) for a while now, and have some strong opinions about it.









![Cover image for Any kubectl command throws "Unhandled Error" err="couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused" - what do?](/cdn-cgi/image/sharpen=1,format=auto,quality=90,slow-connection-quality=50,onerror=redirect,fit=scale-down,width=1920/images/16596-xlkgokvbupmzma5ii2ol1.jpg)














