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

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

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