I have created an agent using Visual Studio Code M365 toolkit.
Teams Agent with Azure Open AI, TypeScript
"dependencies": {
"@azure/identity": "^4.11.1",
"@microsoft/teams.ai": "^2.0.0",
"@microsoft/teams.apps": "^2.0.0",
"@microsoft/teams.common": "^2.0.0",
"@microsoft/teams.graph-endpoints": "^2.0.2",
"@microsoft/teams.openai": "^2.0.0"
}
I have implemented SSO following these two links
https://microsoft.github.io/teams-ai/teams/user-authentication/sso-setup/
https://microsoft.github.io/teams-ai/typescript/in-depth-guides/user-authentication/
Above allows me to make graph calls for example const me = await userGraph.call(endpoints.me.get);
How can I add another external service authentication which also uses Microsoft Entra ID / OAuth?
Please guide me
I want to be able to make calls to external services as well as graph call in my tenant in the same bot
External service OAuth connection in Bot configuration

I have created an agent using Visual Studio Code M365 toolkit.
Teams Agent with Azure Open AI, TypeScript
I have implemented SSO following these two links
https://microsoft.github.io/teams-ai/teams/user-authentication/sso-setup/
https://microsoft.github.io/teams-ai/typescript/in-depth-guides/user-authentication/
Above allows me to make graph calls for example
const me = await userGraph.call(endpoints.me.get);How can I add another external service authentication which also uses Microsoft Entra ID / OAuth?
Please guide me
I want to be able to make calls to external services as well as graph call in my tenant in the same bot
External service OAuth connection in Bot configuration