Skip to content

Agent - Third Party OAuth Sign In not working (SSO is working) #2673

@NWH-SAmin5

Description

@NWH-SAmin5

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

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions