Credentials
Atoti DirectQuery delegates the credentials handling to a MicrosoftSQLServerDataSource.
Executing SQL in Microsoft SQL Server requires a
SQL user
in the target database. As described in the Microsoft documentation, several authentication methods can be used.
The following example builds the data source with an SQL login:
More examples are available in the Microsoft documentation:
Permissions
The SQL user used by DirectQuery needs to have the permissions to run queries in Microsoft SQL Server. To be able to run queries, theCONNECT permission is needed on the Microsoft SQL Server to be used,
then the SELECT permission is needed on the schemas or tables the user will use.