question

FrankKoehler-3578 avatar image
0 Votes"
FrankKoehler-3578 asked asergaz commented

Digital Twin - Error using sample app AdtSampleApp


Hello!

If I try to execute the command SetupBuildingScenario after starting the app, I get the following error:

112469-error.png

If I control the Digital Twin with the DT Explorer, I can upload, edit and query models.

I hope someone can help me out.

Thanks in advance.


azure-digital-twins
error.png (266.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @FrankKoehler-3578 ,
Please share with us if you have any other questions related with your original post. Otherwise could you go ahead and mark the below as answer?

Thank you so much.

Remember:
- Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

0 Votes 0 ·

1 Answer

MatthijsvdVeer avatar image
1 Vote"
MatthijsvdVeer answered

Hello and welcome to Microsoft Q&A! The error in question is one that pops up quite often, and usually happens when the credentials you use don't belong to the same Azure Active Directory as the Azure Digital Twins instance you're trying to use.

This Microsoft docs page describes two ways to fix your issue. Let me know if that helps at all!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.