To use servicetags api you have to register Microsoft.Netowork resource provider at azure subscription level. Also I've made simplified
Instead you can use these api:
to get servicetags informations, you can see them at this linkthe ip address list of a specified Azure Service in a specified Azure region: https://tinyurl.com/nouu80vqhttps://azinfo.azurewebsites.net/api/servicetags/{regionName}/{serviceName}
to get valid region names https://azinfo.azurewebsites.net/api/GetRegionNameList
to get valid service names https://azinfo.azurewebsites.net/api/GetServiceNameList
to get the all the ip address list of all Azure Services in a specified Azure region https://azinfo.azurewebsites.net/api/region/{regionName}