<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connect Cognos to Fabric SQL Endpoint - Lakehouse using JDBC in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4827745#M3741</link>
    <description>&lt;P&gt;An additional note here - for those in the future who may find this useful. In some versions of cognos we noticed that while you could connect with mssql-jdbc-13.2.0, the metadata wizard was not able to fully discover all the actual schemas, tables and views.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Switching to mssql-jdbc-12.6 (yes an older version) resolved this issue and the schemas were fully discoverable by the metadata wizard.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Sep 2025 16:33:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-09-16T16:33:51Z</dc:date>
    <item>
      <title>Connect Cognos to Fabric SQL Endpoint - Lakehouse using JDBC</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4810980#M3632</link>
      <description>&lt;P&gt;This is less of a question and more of a how-to/tip. Hopefully if you are searching for connecting to fabric via JDBC or for Cognos, you will come across this.&amp;nbsp;Reply for any additional details. (Note I am not a Cognos expert). This was assisting a customer on several screen share sessions. I suspect this would also work for&amp;nbsp;&lt;EM&gt;most&amp;nbsp;&lt;/EM&gt;uses of the JDBC driver, regardless of the system you are connecting from. I will test this with DBeaver in the next few days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main thing is that this particular answer does not seem to work:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Warehouse/Connecting-IBM-COGNOS-to-fabric-data-warehouse/m-p/4675416#M2957" target="_blank" rel="noopener"&gt;https://community.fabric.microsoft.com/t5/Data-Warehouse/Connecting-IBM-COGNOS-to-fabric-data-warehouse/m-p/4675416#M2957&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mainly because the SQL Analytics Endpoint does &lt;EM&gt;not&lt;/EM&gt; support &lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/connectivity#considerations-and-limitations" target="_self"&gt;SQL Authentication&lt;/A&gt;. We may have been missing something obvious? Unsure.&amp;nbsp;In this context the only two real options are an entra user or a service principal. Entra Users are typically going to be annoying because of password changes and/or MFA issues. Service Principals tend to be the best option here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/entra/identity-platform/howto-create-service-principal-portal" target="_self"&gt;Create a Service Principal&lt;/A&gt; and then assign that Service Principal the proper roles on the workspace. Note that if you give permissions at the Workspace level, you are effectively giving access to&amp;nbsp;&lt;EM&gt;all&amp;nbsp;&lt;/EM&gt;lakehouses and warehouses in that Workspace. A simple way to manage this is creating a separate workspace just for the service principal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect that you could follow the instructions from that other post, and attempt to use Service Principal authentication in the DSN. However, we did try this and it seemed as if Cognos did not like this. We kept getting an error that the Service Principal was not supported - even though the DSN was configured to use it and we had the latest driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our next attempt was with a JDBC connection - this was a little trickier, and required some trial and error.&lt;/P&gt;&lt;P&gt;In short you need the following dependencies in your drivers directory. All can be downloaded from maven.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;slf4j-api-1.7.36
json-smart-2.5.2
jackson-databind-2.18.1
content-type-2.3
jackson-core-2.19.2
jackson-annotations-2.19.2
jackson-databind-2.19.2
azure-json-1.5.0
asm-9.8
accessors-smart-2.6.0
json-smart-2.6.0
oauth2-oidc-sdk-11.23.1
msal4j-1.22.0
mssql-jdbc-13.2.0.jre8&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is entirely plausible that we have one too many&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":expressionless_face:"&gt;😑&lt;/span&gt;. But this was us first upgrading to the latest &lt;A href="https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc/13.2.0.jre8" target="_self"&gt;microsoft sql server for jdbc driver&lt;/A&gt;, and then, adding the Microsoft Authentication Library for Java&amp;nbsp;&lt;A href="https://mvnrepository.com/artifact/com.microsoft.azure/msal4j/1.22.0" target="_self"&gt;msal4j&lt;/A&gt;, and going through its dependencies, and then any subsequent dependency errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly we created the connection in the cognos admin portal with a specific jdbc connection string:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;jdbc:sqlserver://[sqlendpoint url];database=[lakehouse/warehouse name];authentication=ActiveDirectoryServicePrincipal;user=[client id];password=[client secret];encrypt=true;trustServerCertificate=false;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this did work, and we got a successful connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 20:41:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4810980#M3632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-29T20:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Cognos to Fabric SQL Endpoint - Lakehouse using JDBC</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4811462#M3636</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;Thank you for sharing this detailed walkthrough. It will be very valuable for other community members looking to connect IBM Cognos (or any other JDBC-based client) with the Fabric SQL Analytics Endpoint (Lakehouse/Warehouse). I’m sure it will also help users who are evaluating Cognos, DBeaver, or other JDBC-compatible clients with Fabric. &lt;BR /&gt;&lt;BR /&gt;Thanks again for contributing this knowledge to the community.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Ganesh Singamshetty.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 10:22:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4811462#M3636</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-08-29T10:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Cognos to Fabric SQL Endpoint - Lakehouse using JDBC</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4811950#M3639</link>
      <description>&lt;P&gt;I was able to use DBeaver and connect successfully with the list of dependencies above.&lt;/P&gt;&lt;P&gt;It is possible that the asm library is not necessary. Try without it first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 20:40:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4811950#M3639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-29T20:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Cognos to Fabric SQL Endpoint - Lakehouse using JDBC</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4813013#M3643</link>
      <description>&lt;P&gt;To connect Cognos to Fabric Lakehouse SQL Endpoint via JDBC:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use Service Principal (SQL Auth not supported).&lt;/LI&gt;&lt;LI&gt;Assign SPN access to the Fabric workspace/item.&lt;/LI&gt;&lt;LI&gt;Add JDBC + MSAL4J dependencies (e.g., mssql-jdbc, msal4j, jackson, slf4j, etc.).&lt;/LI&gt;&lt;LI&gt;Connection string:&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;jdbc:sqlserver://&amp;lt;endpoint&amp;gt;;&lt;BR /&gt;database=&amp;lt;lakehouse&amp;gt;;&lt;BR /&gt;authentication=ActiveDirectoryServicePrincipal;&lt;BR /&gt;user=&amp;lt;client-id&amp;gt;;&lt;BR /&gt;password=&amp;lt;client-secret&amp;gt;;&lt;BR /&gt;encrypt=true;&lt;BR /&gt;trustServerCertificate=false;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Works in Cognos and other JDBC tools like DBeaver.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 06:57:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4813013#M3643</guid>
      <dc:creator>Shahid12523</dc:creator>
      <dc:date>2025-09-01T06:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Cognos to Fabric SQL Endpoint - Lakehouse using JDBC</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4827745#M3741</link>
      <description>&lt;P&gt;An additional note here - for those in the future who may find this useful. In some versions of cognos we noticed that while you could connect with mssql-jdbc-13.2.0, the metadata wizard was not able to fully discover all the actual schemas, tables and views.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Switching to mssql-jdbc-12.6 (yes an older version) resolved this issue and the schemas were fully discoverable by the metadata wizard.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2025 16:33:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Connect-Cognos-to-Fabric-SQL-Endpoint-Lakehouse-using-JDBC/m-p/4827745#M3741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-09-16T16:33:51Z</dc:date>
    </item>
  </channel>
</rss>

