you might want to grant yourself access to the ADT resource by making yourself an owner
Not able to connect twin url in azure digital twin explorer
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.
3 answers
Sort by: Most helpful
-
-
QuantumCache 20,271 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]
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.
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 loadinghttp://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.
-
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
I am using Google Chrome on Mac OS 11.