Known issue - Pipeline fails when getting a token to connect to Kusto

You might experience issues while trying to get a token using mssparkutils.credentials.getToken() with your cluster URL as the audience when connecting to Kusto using a pipeline.

Status: Open

Product Experience: Data Engineering

Symptoms

You receive a pipeline failure when you try to get the token for Azure Data Explorer.

Solutions and workarounds

Use mssparkutils.credentials.getToken("kusto") instead of mssparkutils.credentials.getToken(cluster_url). The code kusto is the supported short code for the Kusto audience in getToken().

Next steps