0

I have configured the Device Update Agent into IoT Device. Imported multiple Updates via 'Import a new Update' Option but inside 'Groups and Deployment' Tab I am not seeing any new update.

Please see below links for more details

New Import

New Update available count is 0

halfer
  • 19,824
  • 17
  • 99
  • 186

2 Answers2

0

using Ms-Doc,Ms-Doc2 I was able to Import a new Update in IoT Hub.

enter image description here

  • Add the Access Control in IoT Hub

enter image description here

enter image description here

  • Make sure that the IoT Hub Data Contributor role is listed under Role assignments after selecting Azure Device Update.

enter image description here

  • Search for "Azure Device Update" using the User, Group, or Service Principal selection.

enter image description here

enter image description here

  • Choose Devices in the left pane. Choose Add Device next.

enter image description here

  • Choose Add Module Identity, then type a name for the module under Module Identity Name.

enter image description here

enter image description here

  • At the same level as the model Id and version tags in the twin file, add a new Device Update tag value as follows:
"tags": {
    "ADUGroup": "DU-simulator-tutorial"
},

enter image description here

enter image description here

  • Select Upload in your container, then navigate to the files you got for the requirements. Select Upload after choosing the adu-update-image-raspberrypi3.swu and TutorialImportManifest_Sim.importmanifest.json files.

enter image description here

  • After click on check the status in Groups and Deployments.

enter image description here

Sampath
  • 810
  • 2
  • 2
  • 13
  • If have questions related to your question(or) answer. Please ask in the comments – Sampath Apr 03 '23 at 00:37
  • With Simulator I can able to deploy the changes and getting successful response for Image base & Package base both. For the actual Package deployment what we need to do any idea? did you updated existing package using Device Update ? – Yogesh Amrutkar Apr 03 '23 at 12:39
  • Hello @YogeshAmrutkar Do with Simulator for [Package deployment](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/iot-hub-device-update/device-update-configure-repo.md) – Sampath Apr 03 '23 at 13:36
  • with Simulator I have already tired, it's working fine. Now I want to update actual existing package or deploy a totally new package into device from IoT Hub using Device Update. Any input on that ? – Yogesh Amrutkar Apr 04 '23 at 03:34
  • Hello @YogeshAmrutkar Will check any reference Doc available and update you – Sampath Apr 05 '23 at 03:07
  • Any update ?, When I am trying to verify the Package Base update with OTA I am getting 'Failed to parse specified APT file' Error with code ADUC_ERC_UPDATE_CONTENT_HANDLER_PARSE_BAD_FORMAT – Yogesh Amrutkar Apr 10 '23 at 07:50
  • Hello, @YogeshAmrutkar found the related [doc](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/iot-hub-device-update/device-update-simulator.md) and [trying](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/iot-hub-device-update/device-update-ubuntu-agent.md) to [implement](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/iot-hub-device-update/deploy-update.md) [it](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/iot-hub-device-update/create-update-group.md). – Sampath Apr 10 '23 at 08:03
0

Solution : In du-config.json whatever manufacture & model we use during DeviceAgent Configuration same we need to use inside .importmanifest.json file during import otherwise Import is successful but in Deployment Tab you won't see any new updates to Deploy