Call API protected by AzureAD

Andrew Tovey-Fall
Andrew Tovey-Fall used Ask the Experts™
on
I have written an API using asp.net core, which is hosted on Azure App Services. It is protected by Azure AD. I have written a javascript client using the MSAL library to consume the API, but i constantly get a 401 error.

I suspect there is a configuration problem in the api's registration or in the call from the client. Can anyone offer any help tracking the problem?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
I wanted to uses the MSAL library. The problem turned out to be be an incorrect application ID Url.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial