# Normalize Azure resource-name casing in inventory comparisons

> Avoid treating casing differences returned by APIs as separate resources.

- Canonical URL: https://update.dsesecurity.com/updates/dse-20260917-058-normalize-azure-resource-name-casing-in-inventory-comparisons/
- Publisher: Detection Systems & Engineering (DSE Security)
- Author: DSE Security Editorial Team
- Published: 2026-09-17T16:34:02+00:00
- Modified: 2026-09-17T16:38:45+00:00
- Last reviewed by DSE: 2026-09-17
- Resource type: Guide
- DSE priority: Information
- Topics: Cybersecurity, IT
- Reading time: 1 minutes

## What you need to know

Avoid treating casing differences returned by APIs as separate resources.

## Potentially affected

Use this review for inventory reconciliation that compares Azure names from multiple management surfaces. Identify the exact resource type and check its current naming rules, including any stated exception. Preserve subscription, resource group and resource type as part of the matching context.

## DSE recommendation

DSE recommends reviewing name-comparison logic before escalating a casing-only discrepancy as a missing asset.

## Article

## Source facts

Microsoft says resource and resource-group names are case-insensitive unless the resource’s valid-character rules explicitly state otherwise. APIs may return casing different from what was originally supplied, or from the table’s presentation. Its guidance is to compare names without case sensitivity. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules).

## Applicability

Use this review for inventory reconciliation that compares Azure names from multiple management surfaces. Identify the exact resource type and check its current naming rules, including any stated exception. Preserve subscription, resource group and resource type as part of the matching context.

## DSE recommendation

DSE recommends reviewing name-comparison logic before escalating a casing-only discrepancy as a missing asset. Keep the originally returned display value for evidence while applying the approved normalization to comparisons. Have the inventory owner test matching behavior against the actual resource types in scope. Do not merge records solely because their normalized short names match.

## Verification

Compare representative records whose name casing differs but whose complete resource context agrees. Also include distinct resources with the same short name in different scopes to confirm that normalization does not collapse them. Retain the inputs, matching decision and resource-type exception review. Investigate differences beyond casing separately, using the authoritative resource identifiers where available.

## Official references

[Microsoft Learn: Naming rules and restrictions for Azure resources](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules).

## Primary reference

- Name: Naming rules and restrictions for Azure resources - Azure Resource Manager | Microsoft Learn
- Authority: Microsoft Learn
- URL: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules
- Source publication date: Not stated by the source

## Citation and use

Preferred citation: “Normalize Azure resource-name casing in inventory comparisons,” DSE Security, https://update.dsesecurity.com/updates/dse-20260917-058-normalize-azure-resource-name-casing-in-inventory-comparisons/
Publishing principles: https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/
Usage and citation policy: https://update.dsesecurity.com/usage/
Copyright © 2026 Detection Systems & Engineering. All rights reserved.
