Azure Cloud Services Naming Issue (Service name unavailable)

Jester Bojorque 250 Reputation points
2026-09-03T00:35:28.37+00:00

Hello,

We have an issue naming our new services in Azure. To give context, we had a whole Azure infrastructure already running before but due to malicious actor gaining access to it and messed things up and after doing our best to gain access and contain the situation, we ultimately failed to get it back and Azure billed us for the services created by the actor. We tried contacting Azure support but they are unable to help as well. Our last resort was to delete everything, which we did.

Now we are currently rebuilding the infrastructure from scratch. While doing that I came across an issue naming the new services. As much as possible we want to use the same service names we had before for the reason that we also utilizing IoT devices and were are trying to lessen the impact or change we need to do to those devices to make them work again.

This is the previous dps we had before. The whole infrastructure was already deleted by Azure support and we can no longer access that.

User's image

Now I am trying to recreate the same services but im getting service name unavailable.

Does anyone here had the same issue before? If yes, could you give some advice? If not, any recommendation would be much appreciated.

Thank you.

JB

Azure Cloud Services
Azure Cloud Services

An Azure platform as a service offer that is used to deploy web and cloud applications.


1 answer

Sort by: Newest
  1. Allan Solomon Mejia 8,420 Reputation points
    2026-09-04T19:54:02.4766667+00:00

    Hello @Jester Bojorque

    The “Device Provisioning Service name unavailable” message usually means the DPS name you’re trying to reuse is still unavailable at the Azure platform level. DPS instance names must be globally unique across Azure, not just unique within your subscription or resource group. DPS names must be 3–64 characters and contain only alphanumeric characters or hyphens.

    Since your previous environment was deleted after the security incident, there are a couple of possibilities:

    1. The previous DPS resource may still be undergoing backend cleanup, so the name hasn’t been released yet.
    2. The name might now be reserved or associated with another existing resource.
    3. Residual resource metadata may exist that only Microsoft Support can verify.

    As a quick test, try creating the DPS instance with a slightly modified name, such as adding a suffix. If that succeeds, it confirms the subscription, region, and resource provider are fine and the problem is specific to the original name.

    You can also test from Azure CLI:

    az iot dps create \
      --name <new-unique-dps-name> \
      --resource-group <resource-group> \
      --location japaneast
    

    Microsoft's CLI documentation also confirms that the DPS name must be globally unique.

    If retaining the exact old name is essential, I would recommend reopening an Azure Support case and asking them specifically to verify whether the deleted Microsoft.Devices/provisioningServices resource name is still retained or reserved in the backend. You can't normally release this from the Azure portal.

    One important point for your IoT devices: DPS devices use the ID Scope to identify the provisioning service, and Microsoft states that the ID Scope is generated when DPS is created and is immutable. Therefore, even if you're able to recreate a DPS resource using the same name, the newly created DPS instance will receive a different ID Scope. Devices configured with the previous ID Scope would still need to be updated or reprovisioned accordingly.

    References:

    Set up IoT Hub Device Provisioning Service

    IoT Hub DPS terminology

    Set up DPS using Azure CLI

    Help make this community better for everyone: if this answer resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution.

    Was this answer helpful?


Your answer

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