Im trying to do a bot with Microsoft teams, but i am unable to provide “valid” credentials althought i can link my hotmail account. Im using a personal account just to test
Microsoft Teams integration does not work with personal Microsoft accounts like @hotmail.com, @outlook.com, or @gmail.com. I think it requires a Work/School account that is part of a Microsoft 365 organization or something.
I’d start by checking the account type. A personal Hotmail account can often sign in, but Teams via Microsoft Graph usually works properly with a work or school Microsoft 365 account. From your screenshots, I’d also keep the Base URL on Global, not US Government, unless you’re actually in that environment, and I’d turn Custom Scopes off first. My guess is this is more of an account/Graph permissions issue than a broken credential.
So from those screenshots the “Invalid Token” and the malformed JWT errors both point to the same thing, personal Microsoft accounts just don’t have the right token structure for Teams Graph API calls. You’d need a work or school Microsoft 365 account for this to work. Also I’d turn off Custom Scopes and keep the Base URL on Global unless you actually need the US Government endpoint.