question

AngelosChristopoulos-4413 avatar image
0 Votes"
AngelosChristopoulos-4413 asked SatishBoddu-MSFT answered

Connect DPS from one directory (tenant) with IoT Hub from a different directory (tenant)

Hi,

We are trying to link a DPS, that lies in one directory, to an IoTHub that lies in a different directory.

Do you know if that is possible?

azure-iot-hubazure-iot-dps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SatishBoddu-MSFT avatar image
0 Votes"
SatishBoddu-MSFT answered

Hello @AngelosChristopoulos-4413 Thanks for posting the interesting question!

Could you please add more info on this scenario like the use case such as during any disaster recovery incident? or is it required by your Architectural design?

This is possible today, this is not possible via Portal as you would only see the Hubs on the same tenant. But you can use either Rest APIs or CLI for this.
Yes, Using SDKs or CLI you can link Hub connection string from another tenant

Please follow the response provided by SandervandeVelde42 .

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SandervandeVelde42 avatar image
1 Vote"
SandervandeVelde42 answered SandervandeVelde42 edited

Hello @AngelosChristopoulos-4413 ,

You can add multiple IoT Hubs to a Device Provisioning Service.

Unfortunately, the Azure portal limits you to adding other IoT Hubs.

The Azure IoT DPS Rest API makes it possible to add any IoT Hub, you only need to provide connection strings.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.