# Microsoft Fabric Fabric Analytics Authentication

Source: https://userguide.qualytics.io/source-datastore/datastore/jdbc/fabric-analytics/authentication/

Qualytics signs in to Fabric Analytics as a **service principal**, an application registered in Microsoft Entra ID (Azure AD). There is no user name and password: the connection carries the application's credentials, and Fabric grants it the access of the workspace role you give it (see [Permissions](https://userguide.qualytics.io/source-datastore/datastore/jdbc/fabric-analytics/permissions/)).

## Service Principal

Fill in three fields in the **Connection Properties** section of the connection form:

| Field | Where it comes from |
| --- | --- |
| **Client ID** | The **Application (client) ID** on the app registration's **Overview** page. |
| **Client Secret** | The **Value** of a client secret created on the app registration. |
| **Tenant ID** | The **Directory (tenant) ID** on the same **Overview** page. |

For a service principal to sign in, two things must also be true in Fabric: the tenant setting **Service principals can call Fabric public APIs** is on for it, and it has the **Contributor** role (or higher) on the workspace. [Set Up a Service Principal](https://userguide.qualytics.io/source-datastore/datastore/jdbc/fabric-analytics/how-tos/setup/set-up-service-principal/) walks through all of it.

This suits unattended access, since the sign-in is not tied to a person's account.

> **Warning**
>
> Client secrets expire on the date chosen when they are created. When the secret expires, the connection fails with `Login failed for user` until you create a new secret and update the connection. Set a reminder to change it before then.

> **Tip: Credentials from a secrets manager**
>
> Any credential field can take its value from HashiCorp Vault or another secrets manager instead of being typed in: turn on **Secrets Management** on the connection and write `${key}` in the field. See the [HashiCorp Vault](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/hashicorp-vault/) pages for setup and troubleshooting.

*Last updated: November 16, 2026.*
