An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
Hello @Seiya Sum Thanks for reaching out on this forum!
Thanks to @AshokPeddakotla-MSFT for the repro and validating the documentation on cloud shell.
After working offline with you on this issue, here is the summary\outcome which details the solution.
when I run the create model or create twin as cli, it shows the error as following:
![]()
----> unrecognized arguments: 60.6,}'
Fix\Workaround: When you create a twin with the CLI, depending on what type of command prompt you're using, you might have to escape the " characters
az dt twin create
--dt-name myADTsoutheastasia.api.sea.digitaltwins.azure.net
--dtmi "dtmi:contosocom1:DigitalTwins:Thermostat;1"
--twin-id thermostat67
--properties "{\"Temperature\": 60.6,}"
Documentation: We are updating instructions on the documentation as well for this CLI command usage.
Repro of the issue on Windows OS CLI Desktop version:
We really appreciate your contribution on helping other community members, customers and improving product experience!!!
Please comment in the below section for further help in this matter, happy to help!
----------
Please do let me know if you have any queries.
Thanks
Satish
------------------------------------------
- Please don't forget to click on 'Accept Answer' button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
or upvote
which might help other community members reading this thread.