az iot du update init v5 in Preview / Development so can't be used

Samuel Yang 25 Reputation points
2024-03-07T14:41:03.9266667+00:00

Hi, I'm looking at the documentation for Azure Device Update and I was informed to call the command below to create a Manifest. However when I called it on Powershell, I wasn't able to create the Manifest because the command is ain Preview or Development (link here). Therefore, how can I proceed in completing this ADU process?

az iot du update init v5 --update-provider Contoso --update-name ESP32-Embedded --update-version 1.1 --compat deviceModel=ESP32-Embedded deviceManufacturer=ESPRESSIF --step handler=microsoft/swupdate:1 properties='{\"installedCriteria\":\"1.1\"}' --file path=./Azure_IoT_Adu_ESP32_1.1.bin > ./Contoso.ESP32-Embedded.1.1.importmanifest.json
Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
382 questions
{count} votes

Accepted answer
  1. LeelaRajeshSayana-MSFT 13,471 Reputation points
    2024-03-08T02:54:41.7466667+00:00

    Hi @Samuel Yang Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.

    Even though the command is in public preview, it still works to generate the update files. The message Command group 'iot du update init' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus is just to indicate that the command is still in preview and some features are still being developed and tested.

    The command does not have option to specify the output directory path to save the file. It is most likely saved under the directory where you have executed the command from. In your case, it is C:\Users\samue. Please look for the file under this directory and you should be able to find it.

    Hope this helps! Please let us know if you need any further assistance on this.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.


0 additional answers

Sort by: Most helpful