An Azure service that offers file shares in the cloud.
HI @ SKS,
Welcome to Microsoft Q&A Platform
It looks like you’re running into a limitation: Microsoft Entra Kerberos for Azure Files requires the client’s Entra join and the storage account’s Kerberos SPN to live in the same Entra tenant. In your scenario the VMs are hybrid-joined to Tenant B while the storage account (and synced users) live in Tenant A, so Kerberos tickets can’t be issued for the SPN in Tenant A and authentication fails.
This cross-tenant hybrid-join scenario isn’t supported today. You have a few options:
Note: This feature currently doesn't support cross-tenant access for B2B users or guest users. Users from an Entra tenant other than the one configured won't be able to access the file share.
Keep using Microsoft Entra Kerberos:
- Re-hybrid-join your Windows 11 clients to Tenant A (so they and the SPN live together).
- Switch to on-prem AD DS authentication for Azure Files
- Configure your storage account to use on-premises AD DS authentication (no Entra Kerberos). Your domain-joined Windows machines will then authenticate directly against your on-prem KDC. This is a supported, cross-tenant-agnostic model.
- Use Azure AD OAuth (token-based) access for Azure Files shares
- If rejoining or on-prem AD DS isn’t possible, consider mounting via Azure AD tokens (StorageFileData SMB Share roles) instead of Kerberos.
Here are some quick checks you can run on your current setup (to rule out other misconfigurations):
- Ensure TCP port 445 is open outbound from the client to Azure Files.
- Make sure the
CloudKerberosTicketRetrievalEnabledregistry key (or GPO/Intune policy) is set on your Windows clients - Run the Debug-AzStorageAccountAuth cmdlet against your storage account (from a user in Tenant A) to see which checks fail.
- Verify that the storage account’s SPN (in Tenant A) is properly configured and that any required admin consent has been granted.
Reference list
- Enable Microsoft Entra Kerberos for hybrid identities: https://docs.microsoft.com/azure/storage/files/storage-files-identity-auth-hybrid-identities-enable
- Troubleshoot Azure Files SMB authentication: https://docs.microsoft.com/troubleshoot/azure/azure-storage/files/security/files-troubleshoot-smb-authentication
- Configure Azure Files AD DS authentication: https://docs.microsoft.com/azure/storage/files/storage-files-identity-ad-ds-enable
Please
and “up-vote” wherever the information provided helps you, **this can be beneficial to other community members.**ll.