Hello Richard Hilton
Thank you for your question!
If CheckEntraObject fails, disable and re-enable AADKERB on the storage account.
Set-AzStorageAccount -ResourceGroupName $ResourceGroupName -Name $StorageAccountName -EnableAzureActiveDirectoryKerberosForFile $false
Set-AzStorageAccount -ResourceGroupName $ResourceGroupName -Name $StorageAccountName -EnableAzureActiveDirectoryKerberosForFile $true
If CheckRegKey fails, set the registry key. Reboot the client machine after this change.
reg add HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters /v CloudKerberosTicketRetrievalEnabled /t REG_DWORD /d 1
Since OnPremisesSyncEnabled is Yes and full syncs have been run, verify that the hybrid identity sync is working correctly
- In the Microsoft Entra admin center, go to Azure AD Connect > Health and check for sync errors. Ensure the mS-DS-ConsistencyGuid and userPrincipalName attributes are syncing correctly for users.
Check if the storage account’s service principal exists in Entra ID
Get-MgServicePrincipal -Filter "displayName eq 'fileshareurb1'"
If the AzureADKerberos object is created but authentication still fails, rotate the Kerberos key Wait a few hours for key propagation. Use -Force if rotation is needed within 24 hours.
Set-AzureADKerberosServer -Domain $domain -UserPrincipalName $userPrincipalName -DomainCredential $domainCred -RotateServerKey
Please refer to the below article on Enable Microsoft Entra Kerberos authentication for hybrid identities on Azure Files: https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-hybrid-identities-enable?tabs=azure-portal%2Cintune
- Prerequisites: Confirm that client devices are running supported OS versions (Windows 11 Enterprise, Windows 10 Enterprise, or Windows Server 2019/2022).
- Verify that urbacon.net is synchronized with Microsoft Entra ID using AD Connect, and OnPremisesSyncEnabled is Yes (as you confirmed).
- Ensure the storage account (fileshareurb1) is in the same Azure region (canadacentral) as the domain’s synced identities.
Hope the above answer helps! Please let us know do you have any further queries.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.