|
| 1 | +--- |
| 2 | +# Required metadata |
| 3 | +# For more information, see https://review.learn.microsoft.com/en-us/help/platform/learn-editor-add-metadata?branch=main |
| 4 | +# For valid values of ms.service, ms.prod, and ms.topic, see https://review.learn.microsoft.com/en-us/help/platform/metadata-taxonomies?branch=main |
| 5 | + |
| 6 | +title: Troubleshoot storage-related errors when importing updates in Device Update for IoT Hub |
| 7 | +description: How to troubleshoot storage-related errors when importing updates |
| 8 | +author: andrewbrownmsft # GitHub alias |
| 9 | +ms.author: andbrown |
| 10 | +ms.service: azure-iot |
| 11 | +ms.topic: error-reference |
| 12 | +ms.date: 12/11/2024 |
| 13 | +--- |
| 14 | + |
| 15 | +# Troubleshoot storage-related errors when importing updates in Device Update for IoT Hub |
| 16 | + |
| 17 | +When importing an update to Device Update for IoT Hub, you may see this error: |
| 18 | + |
| 19 | +*“The permissions on this storage container prevent access to your files. Add the Storage Blob Data Contributor role to your user account. Learn more.”* |
| 20 | + |
| 21 | +To resolve the error, follow these steps: |
| 22 | + |
| 23 | +1. In the Azure portal, search for the "Storage accounts" service in the search bar at the top of the page. Select the "Storage accounts" service. |
| 24 | + |
| 25 | +1. In the Storage accounts view, locate the Storage account that you’re using with Device Update for IoT Hub. Select that account. |
| 26 | + |
| 27 | +1. In the selected Storage account, select the "Containers" option under the "Data storage" header. Locate the container that you’re using with Device Update for IoT Hub. Select that container. |
| 28 | + |
| 29 | +1. In the Container view, select "Access Control (IAM)" from the left-hand navigation menu. Select "Add" -> "Add role assignment" from the top menu. |
| 30 | + |
| 31 | +1. In the Role tab, search for the "Storage Blob Data Contributor" role and select it, then select the "Next" button. |
| 32 | + |
| 33 | +1. In the Members tab, keep the default selection of "User, group or service principal" and select the "Select members" link. In the right-hand flyout menu, search for your user account, select it, and choose the "Select" button. Then select the "Next" button. |
| 34 | + |
| 35 | +1. In the Conditions tab, make no changes and select the "Next" button. |
| 36 | + |
| 37 | +1. In the Review + assign tab, select the "Review + assign" button. |
| 38 | + |
| 39 | +After completing these steps, wait a few minutes for the change to propagate, and then try the Device Update for IoT Hub import experience again from the beginning. |
| 40 | + |
0 commit comments