Skip to content

Commit 382a7f6

Browse files
Merge pull request #228777 from kgremban/feb27-routingnetworking
Add pointer to egress connectivity info from routing concepts
2 parents c7c8c51 + 4f80693 commit 382a7f6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/iot-hub/iot-hub-devguide-messages-d2c.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Understand Azure IoT Hub message routing
3+
titleSuffix: Azure IoT Hub
34
description: This article describes how to use message routing to send device-to-cloud messages. Includes information about sending both telemetry and non-telemetry data.
45
author: kgremban
56
ms.service: iot-hub
@@ -109,6 +110,12 @@ You can configure the synthetic partition key value by specifying a template in
109110
> [!CAUTION]
110111
> If you're using the system assigned managed identity for authenticating to Cosmos DB, you must use Azure CLI or Azure PowerShell to assign the Cosmos DB Built-in Data Contributor built-in role definition to the identity. Role assignment for Cosmos DB isn't currently supported from the Azure portal. For more information about the various roles, see [Configure role-based access for Azure Cosmos DB](../cosmos-db/how-to-setup-rbac.md). To understand assigning roles via CLI, see [Manage Azure Cosmos DB SQL role resources.](/cli/azure/cosmosdb/sql/role)
111112
113+
## Route to an endpoint in another subscription
114+
115+
If the endpoint resource is in a different subscription than your IoT hub, you need to configure your IoT hub as a trusted Microsoft service before creating a custom endpoint. When you do create the custom endpoint, set the **Authentication type** to user-assigned identity.
116+
117+
For more information, see [Egress connectivity from IoT Hub to other Azure resources](./iot-hub-managed-identity.md#egress-connectivity-from-iot-hub-to-other-azure-resources).
118+
112119
## Routing queries
113120

114121
IoT Hub message routing provides a querying capability to filter the data before routing it to the endpoints. Each routing query you configure has the following properties:

0 commit comments

Comments
 (0)