Reply
hhassan0705
New Member

Accessing SQL Analytics Endpoint via .NET API

Hello,

 

I am trying to write a .NET API to access SQL Analytics Endpoint in Fabric. I know it's possible to update the endpoint via SQL Server Management Studio. Is there a capability available to read / update the endpoint via an API?

3 ACCEPTED SOLUTIONS
v-sgandrathi
Community Support
Community Support

Hi @hhassan0705,

 

 I'm glad that your query was resolved. If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

Thank you for your understanding!

View solution in original post

Hi @hhassan0705,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

Thanks for using Microsoft Fabric Community Forum.

View solution in original post

Fabric’s SQL database uses the Azure SQL Database engine, supporting all standard write operations (INSERT, UPDATE, DELETE, MERGE) through .NET’s `Microsoft.Data.SqlClient`


https://learn.microsoft.com/en-us/fabric/database/sql/feature-comparison-sql-database-fabric

 

View solution in original post

7 REPLIES 7
v-sgandrathi
Community Support
Community Support

Hi @hhassan0705,

Thankyou @nilendraFabric for your response.

I wanted to check in on your situation regarding the issue. Have you resolved it? If you have, please consider marking the reply that helped you or sharing your solution. It would be greatly appreciated by others in the community who may have the same question.

Thank you.

Hi @hhassan0705,

 

I wanted to follow up on our previous suggestions provided by coommunity member regarding the issue. We would love to hear back from you to ensure we can assist you further.

If our response has addressed your query, please Accept it as a solution and give a ‘Kudos’ so other members can easily find it. Please let us know if there’s anything else we can do to help.

Thank you.

 

hhassan0705
New Member

Hi @nilendraFabric , I think I misworded my question perhaps. I meant to ask if direct writes are permitted for the SQL database within Fabric? Not the lakehouse endpoints. They are permitted via the SQL Server Management Studio for example, just not sure if I can accomplish same via a .NET API as well?

 

Thanks so much for all the help

Fabric’s SQL database uses the Azure SQL Database engine, supporting all standard write operations (INSERT, UPDATE, DELETE, MERGE) through .NET’s `Microsoft.Data.SqlClient`


https://learn.microsoft.com/en-us/fabric/database/sql/feature-comparison-sql-database-fabric

 

v-sgandrathi
Community Support
Community Support

Hi @hhassan0705,

 

 I'm glad that your query was resolved. If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

Thank you for your understanding!

Hi @hhassan0705,

 

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

Thanks for using Microsoft Fabric Community Forum.

nilendraFabric
Community Champion
Community Champion

Hello @hhassan0705 

 

To access Microsoft Fabric’s SQL Analytics Endpoint via a .NET API, you can use the `Microsoft.Data.SqlClient` library with Entra ID (formerly Azure AD) authentication.

 

Direct writes via SQL are not supported for Lakehouse SQL analytics endpoints (read-only)

 

avatar user

Helpful resources

Announcements
MarchFBCvideo - carousel

Fabric Monthly Update - March 2025

Check out the March 2025 Fabric update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)