Skip to main content
Question

creating a different schema

  • July 9, 2026
  • 10 replies
  • 91 views

Forum|alt.badge.img+4

Hallo,
 

I have a question regarding database schemas in Thinkwise.

 

Is it possible to use tables from a custom database schema (for example, a schema other than dbo) within a Thinkwise application?

 

If yes, are there any considerations or limitations when using a different schema?

What is the recommended approach when using tables from a schema other than dbo

 

Thank you

Jheng

10 replies

Forum|alt.badge.img

Hi Jheng,

Using a schema other than dbo is not supported for the application model and its generated logic. The platform assumes that database objects are located in the default schema.

Technically, you can reference objects in another schema from the “Functionality” screen by using fully qualified object names. However, this is generally not recommended, as it falls outside the standard approach and can make your solution more difficult to maintain.

Could you share a bit more about why you want to use a different schema? Understanding your use case will help us suggest the most appropriate solution or determine whether there's a better alternative.

Kind regards,
Sjoerd Tiemens


Forum|alt.badge.img+4
  • Author
  • Captain
  • July 21, 2026

Hallo Sjoerd,

 

Thank you for your reply.

The reason we're considering using a different schema is that we're trying to connect to a Microsoft Fabric database, which is SQL Server–based. We need to access some of the data stored in Fabric for our application.

The connection details we have been provided are:

  • Server: [sample].fabric.microsoft.com
  • Database: Thinkwise
  • Authentication: Microsoft Entra Service Principal
  • App (Client) ID / User ID: [id]
  • Tenant (Authority) ID: [id]
  • Service Principal: spn-thinkwise-lakehouse-readonly
  • Secret: [secret key]

Our current idea is to connect to the Fabric database and copy the required data into a separate schema for use by our application.

Is there a better approach for accessing data from Fabric using the connection details above? For example, would it be possible or recommended to use a web connector given the above details or another integration method instead of copying the data into a separate schema?

 

We'd appreciate any recommendations on the best approach for integrating with Fabric in this scenario.


Thank you

Jheng


Forum|alt.badge.img+4
  • Author
  • Captain
  • July 21, 2026

Hallo,

 

Additional Question:

Is it possible to configure a secondary database connection in Thinkwise to connect to a Microsoft Fabric SQL database and access external data, while the primary application database remains Azure SQL Database?

 

Thank you

Jheng


Hi Jheng,

We recommend storing data fetched from external sources in tables defined in the model. They can be distinguished by name and perhaps a tag. Storing them in a separate schema is not supported by the Thinkwise platform, which would mean that maintenance is entirely manual.

As for the actual integration, it is not possible to define something like a secondary database for the application. The Database connector process action might provide what you need to fetch the data you need from Microsoft Fabric.

I hope this helps!

Kind regards,

Davy

 


Forum|alt.badge.img+4
  • Author
  • Captain
  • July 24, 2026

Hallo,

 

I am trying your suggestion, to use Database Connection using a Process Action to connect from our Thinkwise application to a Microsoft Fabric Warehouse.

 

I created a simple process flow with a Database Connection to verify connectivity. The connection requires Microsoft Entra Service Principal authentication, and I am trying to use the following

 

connection string:

Driver={ODBC Driver 18 for SQL Server}; Server=tcp:[id].datawarehouse.fabric.microsoft.com,1433; Database=Thinkwise; Authentication=ActiveDirectoryServicePrincipal; UID=[clientid];  PWD=[secretid]; Encrypt=yes;  TrustServerCertificate=no;

 

However, I received the following error:
 

Exception

System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, SQLRETURN retcode) at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle) at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions) at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool,

 

Question:

Do you know whether Microsoft ODBC Driver 18 for SQL Server is installed and available in the Thinkwise cloud environment where the Database Connection Process Action is executed?

If it is available, could you confirm whether the Database Connection Process Action supports using this driver with Microsoft Entra Service Principal authentication?

 

Thank you 

Jheng


Hi,

Instead of a database-to-database connection it is possible to setup an on-demand synchronization via an API (https://learn.microsoft.com/en-us/fabric/data-engineering/api-graphql-overview.

Alternatively you can setup a scheduled pipeline in Fabric Data Factory (https://learn.microsoft.com/en-us/fabric/data-engineering/api-graphql-overview).

These should be better options than my initial suggestion, as they seem to be more well-documented and should not depend as heavily on externally managed environments.

Kind regards,

Davy


Forum|alt.badge.img+4
  • Author
  • Captain
  • July 24, 2026

Hi Davy,

 

For this GraphQL approach, we need to use the HTTP connector or Web connection process action?

Thanks,

Jheng


Dear Jheng,

GraphQL is just HTTP POST with a JSON body following the GraphQL syntax. 
Web connections would be the modern, most maintainable solution for this.

 

Here you can find information on how to call GraphQL endpoints. https://learn.microsoft.com/en-us/azure/data-api-builder/concept/graphql/overview?tabs=http

Good luck!

Kind regards,

Davy


Forum|alt.badge.img+4
  • Author
  • Captain
  • July 24, 2026

Hi Davy,

 

Sorry I think the link you provide here is wrong, can you please send the correct link.

"Alternatively you can setup a scheduled pipeline in Fabric Data Factory (https://learn.microsoft.com/en-us/fabric/data-engineering/api-graphql-overview). "
 

Thank you 

Jheng


Dear Jheng,

I see I have accidentally duplicated the GraphQL reference.
Here is the link to the Fabric data factory pipeline https://learn.microsoft.com/en-us/fabric/data-factory/connector-azure-sql-database-copy-activity