I have registered an app in the Azure portal and given the following permissions:
I am attempting to call the following API:
And I get the response:
401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.
When I get a token using my personal Azure account, it works fine so I know I am calling the right endpoint and passing the correct headers/body. What permissions could I be missing?