Not able to connect twin url in azure digital twin explorer

Purohit, Aahana 1 Reputation point
2020-11-26T03:29:19.17+00:00

I am trying to connect my twin instance in my adt explorer but it is giving me authentication problem, even though i have successfully completed az login and have also connected visual studio code to my azure account. I have contributor access for the azure twin that I'm trying to connect.

42709-error-azure.png

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
219 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Ananth Padakannaya 106 Reputation points
    2021-10-07T13:58:48.92+00:00

    you might want to grant yourself access to the ADT resource by making yourself an owner

    1 person found this answer helpful.
    0 comments No comments

  2. QuantumCache 20,031 Reputation points
    2020-11-26T04:47:26.817+00:00

    Hello @Purohit, Aahana , Welcome to Microsoft Q&A Platform, and thanks for your query.

    Could you please make use of ADT Explorer from the below page link? [Click on 'Download Zip'-->Extract the contents to a working directory]

    https://learn.microsoft.com/en-us/samples/azure-samples/digital-twins-explorer/digital-twins-explorer/

    Please give it a try and let me know.

    Please make sure to clear any running code samples & free of cache issues if any from your browser.

    42787-image.png

    Resolution:

    Please close all browser windows.

    Please run the az login command from a separate command-line-->which will open a new browser window and allow the registered user to log in-->Finally close the browser window after successful login.

    Please note that the user should have the right permissions., To give a user permissions to manage an Azure Digital Twins instance, you must assign them the Azure Digital Twins Data Owner role within the instance.

    Now run the command-line statement npm start from the ADT Explorer application folder, which will open the browser loading http://localhost:3000/

    Continue with uploading models and importing graphs as per the instructions.

    Please let us know if you need further help in this matter.


  3. Aaron 1 Reputation point
    2021-03-16T11:08:06.643+00:00

    I am following the tutorial at https://learn.microsoft.com/en-us/azure/digital-twins/quickstart-adt-explorer
    and I get the same error
    78200-screenshot-2021-03-16-at-43413-pm.png

    I am using Google Chrome on Mac OS 11.

    0 comments No comments