Skip to content

How to get teamsUserAadToken from flow browser (msal js) #7346

Open
@antimagetiny

Description

@antimagetiny

Core Library

MSAL.js (@azure/msal-browser), MSAL.js v1 (@azure/msal or msal)

Wrapper Library

MSAL React (@azure/msal-react)

Public or Confidential Client?

Public

Description

I var result = await aadClient
.AcquireTokenInteractive(scopes)
.WithUseEmbeddedWebView(true)
.ExecuteAsync();
string teamsUserAadToken = result.AccessToken;
string userObjectId = result.UniqueId;

I got access token on c# but i dont know how to get this value from browser
I want to get access token with scope voip and chat
So How to get teamsUserAadToken from flow browser

Source

External (Customer)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions