Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

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:
    36,122