Skip to content

Commit 2b0fe79

Browse files
committed
Update managed identity troubleshooting.
1 parent 46f8190 commit 2b0fe79

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

articles/iot-central/core/howto-export-to-azure-data-explorer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ To create the Azure Data Explorer destination in IoT Central on the **Data expor
178178
179179
:::image type="content" source="media/howto-export-data/export-destination-managed.png" alt-text="Screenshot of Azure Data Explorer export destination that uses a managed identity.":::
180180
181+
If you don't see data arriving in your destination service, see [Troubleshoot issues with data exports from your Azure IoT Central application](troubleshoot-data-export.md).
182+
181183
---
182184
183185
[!INCLUDE [iot-central-data-export-setup](../../../includes/iot-central-data-export-setup.md)]

articles/iot-central/core/howto-export-to-blob-storage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ To create the Blob Storage destination in IoT Central on the **Data export** pag
135135

136136
1. Select **Save**.
137137

138+
If you don't see data arriving in your destination service, see [Troubleshoot issues with data exports from your Azure IoT Central application](troubleshoot-data-export.md).
139+
138140
---
139141

140142
[!INCLUDE [iot-central-data-export-setup](../../../includes/iot-central-data-export-setup.md)]

articles/iot-central/core/howto-export-to-event-hubs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ Event Hubs destinations let you configure the connection with a *connection stri
3232

3333
# [Connection string](#tab/connection-string)
3434

35-
36-
3735
If you don't have an existing Event Hubs namespace to export to, run the following script in the Azure Cloud Shell bash environment. The script creates a resource group, Event Hubs namespace, and event hub. It then prints the connection string to use when you configure the data export in IoT Central:
3836

3937
```azurecli-interactive
@@ -114,6 +112,8 @@ To create the Event Hubs destination in IoT Central on the **Data export** page:
114112

115113
1. Select **Save**.
116114

115+
If you don't see data arriving in your destination service, see [Troubleshoot issues with data exports from your Azure IoT Central application](troubleshoot-data-export.md).
116+
117117
---
118118

119119
[!INCLUDE [iot-central-data-export-setup](../../../includes/iot-central-data-export-setup.md)]

articles/iot-central/core/howto-export-to-service-bus.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ To create the Service Bus destination in IoT Central on the **Data export** page
116116

117117
1. Select **Save**.
118118

119+
If you don't see data arriving in your destination service, see [Troubleshoot issues with data exports from your Azure IoT Central application](troubleshoot-data-export.md).
120+
119121
---
120122

121123
[!INCLUDE [iot-central-data-export-setup](../../../includes/iot-central-data-export-setup.md)]

articles/iot-central/core/troubleshoot-data-export.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,23 @@ You're using a managed identity to authorize the connection to an export destina
2020

2121
Before you configure or enable the export destination, make sure that you complete the following steps:
2222

23-
- Enable the managed identity for the application.
24-
- Configure the permissions for the managed identity.
23+
- Enable the managed identity for the IoT Central application. To verify that the managed identity is enabled, go to the **Identity** page for your application in the Azure portal or use the following CLI command:
24+
25+
```azurecli
26+
az iot central app identity show --name {your app name} --resource-group {your resource group name}
27+
```
28+
29+
- Configure the permissions for the managed identity. To view the assigned permissions, select **Azure role assignments** on the **Identity** page for your app in the Azure portal or use the `az role assignment list` CLI command. The required permissions are:
30+
31+
| Destination | Permission |
32+
|-------------|------------|
33+
| Azure Blob storage | Storage Blob Data Contributor |
34+
| Azure Service Bus | Azure Service Bus Data Sender |
35+
| Azure Event Hubs | Azure Event Hubs Data Sender |
36+
| Azure Data Explorer | Admin |
37+
38+
If the permissions were not set correctly before you created the destination in your IoT Central application, try removing the destination and then adding it again.
39+
2540
- Configure any virtual networks, private endpoints, and firewall policies.
2641
2742
To learn more, see [Export data](howto-export-data.md?tabs=managed-identity).

0 commit comments

Comments
 (0)