After the login process using microsoft account bearer token is giving unauthorized when using it in fertching subscription application

Mohamed Umair Mohamed Anhar 41 Reputation points
2020-11-27T10:22:58.17+00:00

when i use microsoft login which is developed using MSAL.js npm package in angular 10 so i have implemented the login section so i get bearer token so when i use the bearer token to fetch the subscription from azure. it throws unauthorized error. so how can i handle this situation

Main Goal:

When i login through the system i need to fetch the subscriptions of the particular user in azure but the token is getting unauthorized when fetching subscription

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,506 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.