Search Unity

Question Dataverse Web API authentication

Discussion in 'Scripting' started by CraigBreenHogg3D, May 18, 2023.

  1. CraigBreenHogg3D

    CraigBreenHogg3D

    Joined:
    Sep 7, 2022
    Posts:
    8
    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.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,689