From AME unable to create ADF Linked Service connection for CORP KUSTO using CORP SPN

Hemant 61 Reputation points Microsoft External Staff
2026-07-20T19:32:22.4233333+00:00

Hello Team,

I am trying to create a Linked Service in AME ADF for CORP Kusto cluster. For that I have created SPN in AME and marked it as multi-tenant. This SPN is also created in CORP. However, AME ADF is throwing error that SPN USER does not have access to Kusto.

Please help with this issue. Since this required proper understanding of the issue, I would just the engineer working on this can ping me for a quick call.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


2 answers

Sort by: Most helpful
  1. Smaran Thoomu 170 Reputation points Microsoft External Staff Moderator
    2026-08-03T14:46:33.9566667+00:00

    Hi @Hemant
    Thank you for your patience while I validated this scenario internally.

    Based on the latest confirmation, Federated Identity Credentials (Workload Identity Federation) are currently not supported for Azure Data Factory Linked Services, including the Azure Data Explorer (Kusto) linked service.

    Since the linked service expects Service Principal authentication, the currently supported authentication methods are:

    • Service Principal with Client Secret
    • Service Principal with Certificate

    As your application is configured to use Federated Credentials only, there is currently no supported value that can be supplied for the Service Principal Key field in the linked service.

    From the information you've shared, the Kusto-side configuration (trusted tenant, required permissions, and database access) appears to be configured correctly. The remaining blocker is the authentication method itself.

    To proceed with the Azure Data Explorer linked service in Azure Data Factory, we recommend using one of the currently supported Service Principal authentication methods:

    • Service Principal with a Client Secret, or
    • Service Principal with a Certificate.

    Please let us know if using one of these supported authentication methods is feasible in your environment. If not, we can discuss possible alternative approaches based on your security requirements.

    Thank you.

    Was this answer helpful?


  2. Ravi Kiran Pagidi 170 Reputation points
    2026-07-25T03:34:28.2066667+00:00

    Hi Hemant,

    This looks like a cross-tenant service principal authorization issue between AME ADF and the CORP Kusto cluster.

    Creating the SPN and making it multi-tenant is only the identity/authentication part. The same application/service principal must also be granted the required role inside the target Kusto cluster/database.

    Please check these items:

    1. Confirm which tenant is used in the ADF linked service. If the Kusto cluster is in CORP, the linked service usually needs to use the CORP tenant where the enterprise application/service principal exists.
    2. Ask the Kusto database admin to verify whether the SPN is added as a database principal.

    Example for read/query access:

    .add database <DatabaseName> viewers ('aadapp=<Application_Client_ID>;<Tenant_ID>') 'ADF SPN access'
    

    For ingestion/write scenarios:

    .add database <DatabaseName> ingestors ('aadapp=<Application_Client_ID>;<Tenant_ID>') 'ADF SPN ingest access'
    
    1. Use the correct tenant ID in the Kusto principal assignment. If the enterprise app is created in CORP, use the CORP tenant ID. If you are intentionally authenticating from the AME tenant, then cross-tenant access must be allowed and the principal must be granted using the AME tenant ID.
    2. Verify the principal assignment:
    .show database <DatabaseName> principals
    
    1. In the ADF linked service, confirm the client ID, tenant ID, secret/certificate, cluster URI, and database name are all for the same intended identity path.

    If the error says the SPN user does not have access to Kusto, then the linked service is most likely reaching Kusto, but Kusto authorization is failing. I would first validate the database role assignment for the exact Application_Client_ID + Tenant_ID pair being used by ADF.

    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.