The IP address of an IoT hub is subject to change without notice. So new IP will be always come from Service Tag list?

DEEPAK KUMPALA 191 Reputation points
2023-08-04T07:38:34.9666667+00:00

I am using the IoT Hub service from the Microsoft Azure. The name of the service is <somename>-iothub.azure-devices.net and current IP assigned to is, assume 40.xxx.xxx.xxx

Azure Service Tag file has following IPs

"addressPrefixes": [           "13.69.71.0/25",           "13.69.109.0/25",           "13.95.15.251/32",           "23.100.4.253/32",           "23.100.8.130/32",           "40.113.153.50/32",           "40.113.176.160/27",           "40.113.176.192/27",           "40.113.177.0/24",           "40.118.27.192/32",           "51.144.118.31/32",           "52.236.189.128/25",           "2603:1020:206:402::300/123",           "2603:1020:206:802::240/123",           "2603:1020:206:c02::240/123"

As per Microsoft documentation, The IP address of an IoT hub is subject to change without notice. So my quesiton is, the changed IP will be one from the above list or it can be completely different one?

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,258 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 14,160 Reputation points MVP
    2023-08-04T08:02:23.26+00:00

    https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-understand-ip-address

    Downloadable JSON File

    https://learn.microsoft.com/en-us/azure/virtual-network/service-tags-overview#discover-service-tags-by-using-downloadable-json-files

    Actually yes Microsoft publishes the downloaded JSON files for Service tags you can use them pragmatically to whitelist these up ranges

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.