> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/working-with-inforiver/12.-data-writeback/destinations/fabric-sql.md).

# Fabric SQL

To add a Fabric SQL destination, you will need to enter the details listed below.&#x20;

* Server or host name
* Port
* Database
* Schema

Refer to the fields highlighted in the screenshot to get the host, port, database name, and schema name from the connection string.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fw3RzpedB3GeotUlKrtz8%2Fimage.png?alt=media&amp;token=137b726e-41cc-41ec-85f4-40288fbc5cdc" alt=""><figcaption><p>Retrieving the host, port, database and schema </p></figcaption></figure>

* Service principal client ID&#x20;

{% hint style="info" %}
Ensure that this Service principal client ID has **Contributor** access to the workspace that is added.
{% endhint %}

* Service principal client secret

Refer to the fields highlighted in the screenshot to get the Service principal client ID. The Client secret can be obtained while creating the service principal account.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FGMlv3CFr5nhb4ZNf7hgB%2Fimage.png?alt=media&amp;token=c44af74d-820c-4a1d-81a5-20963f4df1a1" alt=""><figcaption><p>Retrieving the Service principal ID</p></figcaption></figure>

* Tenant ID(from Microsoft Entra ID)

Refer to the screenshots to get the tenant ID.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FmUJ47HbQcgCVSn2vBv8p%2Fimage.png?alt=media&amp;token=5f5343a1-fd76-4c60-95f9-6362bcc515a0" alt=""><figcaption><p>Retrieving the Tenant ID</p></figcaption></figure>

Configuration for adding a Fabric SQL writeback destination.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FQ521FWYu5SjaIXmlibMS%2Fimage.png?alt=media&amp;token=05e2ad15-8ef4-4418-a766-ddcb71b79ef2" alt=""><figcaption><p>Fabric SQL destination</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.inforiver.com/working-with-inforiver/12.-data-writeback/destinations/fabric-sql.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
