Trouble enabling Entra Kerberos as identity source for Azure files

Justin 0 Reputation points
2026-07-17T05:19:17.8933333+00:00

I am having trouble enabling Entra Kerberos as the identity source for Azure files. When I select Set up and enter the domain name and domain guid, I get the following error:

Failed to update storage account '(account name)'. Error: Operation is forbidden.

Azure Files
Azure Files

An Azure service that offers file shares in the cloud.

0 comments No comments

1 answer

Sort by: Oldest
  1. Christos Panagiotidis 3,551 Reputation points
    2026-07-17T07:23:45.63+00:00

    “Operation is forbidden” occurs while Azure updates the storage account, before client-side Kerberos settings are used. Check the failed entry in the storage account Activity log first; its authorization details should distinguish RBAC, a resource lock, Policy, or a tenant restriction.

    Confirm that the setup account has a management-plane role containing Microsoft.Storage/storageAccounts/write, such as Storage Account Contributor or Contributor, at the storage-account or parent scope. Azure Files data roles are not sufficient. Also check for a ReadOnly lock, deny assignment, or Azure Policy denial.

    Only one Azure Files identity source can be enabled per storage account. Disable AD DS or Microsoft Entra Domain Services first if either is already configured.

    The domain name and domain GUID are optional for Microsoft Entra Kerberos. They are needed for hybrid identities only when managing ACLs through File Explorer. As an isolation test, enable the feature without those values:

    az storage account update --name <account> --resource-group <group> --enable-files-aadkerb true

    If that succeeds, obtain DNSRoot and ObjectGUID from Get-ADDomain; do not use the Entra tenant ID as the domain GUID.

    If it still returns 403, ask the Entra administrator to check application-management policies. The Storage Resource Provider must be allowed to create the storage-account service principal and its symmetric credential. After enablement, grant admin consent to the generated application and assign share-level RBAC permissions.

    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.