Managed Identity

Azure SQL gives each database its own managed identity for storage

Azure SQL Blog (Tech Community) PDasgupta
Managed Identity

A public preview lets each Azure SQL database use its own user-assigned managed identity for storage access, so a shared logical server no longer means one shared set of permissions. The post walks through the credential syntax, the cross-tenant case and the preview's limits.

Key points

  • The database-scoped credential now accepts IDENTITY = 'DATABASE MANAGED IDENTITY' instead of a server principal.
  • Each user database gets one user-assigned managed identity from the same subscription; system-assigned identities are unsupported.
  • The preview runs only in Azure SQL Database and is not available in the master database.
  • Coverage is limited to external tables and OPENROWSET against Azure Blob Storage and ADLS Gen2.
  • Storage in another tenant needs IDENTITY = 'DATABASE FEDERATED CLIENT IDENTITY' plus a multitenant app registration.
  • Identity settings already used for transparent data encryption can be reused, but existing credentials are not updated automatically.

Why it matters

Teams that once spun up a logical server per customer to get an isolation boundary now have a lighter option, and the practical change is that identity becomes a tenant-level resource your IaC has to provision, rename and delete next to the database. Before piloting, check how many user-assigned identities your subscription and deployment tooling handle comfortably, and make sure no role assignment drifts toward a shared container.

The preview label matters as much as the feature: no production SLA, and sign-in plus application authorization stay exactly as they were. Treat it as a design option for new tenant topologies, keep the app-side token flow you already have, and verify both an allowed and a denied read before relying on it.

Real-world use

  • A SaaS provider hosting hundreds of customer databases on one logical server that must keep each tenant to its own container
  • An AI assistant reading customer files through external tables, where tenant A's identity must fail against tenant B's container
  • Enterprises keeping storage in their own Entra tenant, connected through a federated client identity with no stored secret
  • Cutting off a single customer by removing only that identity's storage role, leaving other tenants untouched

This summary was generated by the agent from the original post on Azure SQL Blog (Tech Community). The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message