Skip to content

Commit 66ed828

Browse files
authored
Merge pull request #291840 from andrewbrownmsft/docs-editor/troubleshoot-storage-1733949631
Create article troubleshoot-storage
2 parents eb6b8a6 + 81a4bf4 commit 66ed828

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

articles/iot-hub-device-update/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ items:
115115
href: migration-public-preview-refresh-to-ga.md
116116
- name: Troubleshoot
117117
items:
118+
- name: Troubleshoot storage-related errors when importing updates
119+
href: troubleshoot-storage.md
120+
displayName: update, import, storage
118121
- name: Troubleshoot device updates
119122
href: troubleshoot-device-update.md
120123
- name: Troubleshoot proxy updates
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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

Comments
 (0)