Unable to access on-premises network share using Entra Kerberos (Azure Kerberos): Unspecified error, Sign-in error code: 700016

Pavel Lyalyakin 1 Reputation point
2024-07-28T21:12:17.4833333+00:00

I'm configuring Azure AD (Entra ID) Kerberos to let Azure AD computers with no line of sight to on-premises domain controllers access a local Windows network share. It works properly when the client computer has line of sight to a domain controller. But it fails when I configure the Hostname to Kerberos realm mappings policy.

I'm following the steps from the blog post Maxime Rastello | Use Azure AD Cloud Kerberos ticket for on-premises resources to create the Kerberos realm mapping myserver.mydomain.com KERBEROS.MICROSOFTONLINE.COM (e.g., the command is ksetup /addhosttorealmmap myserver.mydomain.com KERBEROS.MICROSOFTONLINE.COM).

But when I attempt to access the network share \\myserver.mydomain.com\share, the following error occurs:

Error code: 0x80004005 Unspecified error

Screenshot 2024-07-28 235324

The following events are logged into the Entra ID sign-in logs. I don't understand which appIdentifier it's looking for. The Windows share I'm attempting to access isn't Azure Files share, so there is no storage account for it and no app registration.

Authentication requirement: Single-factor authentication

Status: Failure

Continuous access evaluation: No

Sign-in error code: 700016

Failure reason: Application with identifier '{appIdentifier}' was not found in the directory '{tenantName}'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

Additional Details: The application named X was not found in the tenant named Y. This can happen if the application with identifier X has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have misconfigured the Identifier value for the application or sent your authentication request to the wrong tenant

User agent: kerberos/1.0

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,617 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,725 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Maxime Rastello 1 Reputation point
    2024-07-29T15:33:10.9366667+00:00

    Hi, Maxime here :)

    Are you machines having an Entra Kerberos ticket and the ticket retrieval at logon is configured? ./Device/Vendor/MSFT/Policy/Config/Kerberos/CloudKerberosTicketRetrievalEnabled


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.