Dataverse Web API authentication

Hey there, I am having issues authenticating a dataverse web api function where I have been getting this error:

HTTP/1.1 401 Unauthorized

With the code I have set up to pull data from a table within the dataverse tenant I have given it an access token which I set up for the environments table through azure AD and registering the app. I was wondering if anyone could help since I cant see an issue with why the authentication method I am using.

How to troubleshoot all Networking, UnityWebRequest, WWW, Postman, curl, WebAPI, etc:

And setting up a proxy can be very helpful too, in order to compare traffic:

1 Like