Register an app
In the Microsoft Entra admin center, go to App registrations → New registration.Give the app a name (for example
Less connector), leave Redirect URI empty, and select Register.Copy the Application (client) ID — you will use this as Client ID in Less.Create a client secret
Open the app → Certificates & secrets → New client secret.Add a description, choose an expiry, and select Add.Copy the secret Value right away (it is only shown once). This is Client secret in Less.
Grant access in Fabric
In Microsoft Fabric, open the workspace that contains your SQL database.On the database item, open Manage access (or use workspace Access) and add your app registration.
- Sources — the app needs permission to read the database.
- Destinations — the app needs permission to create and write tables in the database.
Connect in Less
In the MSSQL wizard:
- Account — host, port (usually 1433), and database name (from the database Connection strings in Fabric).
- Credentials — choose Microsoft Entra service principal, then paste the Client ID and Client secret from steps 1–2.
- Test connection (destination) or Connect on the Tables step (source).
Troubleshooting
Login timeout expired- Confirm the client secret has not expired.
- Check that the app was added to the correct Fabric workspace and database.
- Ensure a Fabric admin has enabled Service principals can use Fabric APIs under Tenant settings → Developer settings.
- Whitelist Less IP addresses on your database firewall.
- Sources need read access to the database; destinations need write access (create/insert tables).
- Re-open Manage access on the SQL database item and confirm the app registration is listed.
db_datareader for sources and db_datawriter (or db_owner) for destinations.
Finding host and database name
In Fabric, open the SQL database → Settings → Connection strings. Use the Server value as Host and Database as Database in Less.
Further reading