Managed-identity authentication for Azure Files over SMB became generally available on April 20. The Azure Storage announcement says applications and VMs can authenticate with a system-assigned or user-assigned identity instead of keeping storage keys or passwords. Microsoft made the capability available for HDD and SSD file shares across billing models.
Identity replaces an application secret
The change gives machine workloads their own Entra identity on the SMB path. Azure role assignments can grant that principal access, while human users can continue through their existing identity flow. Removing a long-lived storage key narrows credential distribution. A system-assigned identity follows its compute resource’s lifecycle and is deleted with that resource; a user-assigned identity has an independent lifecycle, can be associated with multiple resources, and survives deletion of any one VM.
Managed identity does not by itself decide least privilege. Broad data roles, inherited permissions, or an incorrectly selected user-assigned identity can still expose more of a share than intended. Network reachability and SMB authorization remain separate controls.
Migrate one workload at a time
Inventory services that mount shares with account keys, then choose a stable identity and the narrowest supported data role. Test file creation, rename, locking, and reconnect behavior under the application’s actual account. Confirm that the identity has access only to intended shares and paths.
Remove the old secret only after observing successful remounts during instance replacement and scale-out. Check audit signals for both accepted and denied access, and document the recovery path if identity assignment or token acquisition fails. Rotating the former key afterward closes the migration rather than leaving a dormant bypass. For containerized workloads, verify the exact identity integration is supported for the chosen environment instead of assuming VM behavior transfers unchanged.
- Secure, keyless application access with managed identities — now GA in Azure Files SMB
Microsoft Azure Storage Blog · Apr 20, 2026 - Connecting from your application to resources without handling credentials
Microsoft Learn · Dec 10, 2024
See the original announcement for availability and release details.