spottedmahn
spottedmahn

Reputation: 16001

AADB2C90077: User does not have an existing session and request prompt parameter has a value of 'None'

I have an Angular app that uses MSAL.js and when I try to get an access token I'm receiving the following error:

AADB2C90077: User does not have an existing session and request prompt parameter has a value of 'None'.

Upvotes: 7

Views: 7474

Answers (1)

spottedmahn
spottedmahn

Reputation: 16001

I was passing the wrong scope value; I had a typo in my tenant name:

this.userAgentApplication.acquireTokenSilent(
  'https://{tenantname_with_typo}.onmicrosoft.com/webapi/read')

Upvotes: 6

Related Questions