# 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="/files/MhtbqHH6VYEq8QsjlFXS" 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="/files/x1eJcYXBfUIqnADONti2" 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="/files/180ivyStnGdgQfpA9GZb" alt=""><figcaption><p>Retrieving the Tenant ID</p></figcaption></figure>

Configuration for adding a Fabric SQL writeback destination.

<figure><img src="/files/TADkbZHP0AoN0333nnZc" alt=""><figcaption><p>Fabric SQL destination</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
