> 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-warehouse.md).

# Fabric Warehouse

After navigating to the add destination page, the following details are required to add **Fabric Warehouse** as a writeback destination:

* SQL connection string
* Database name
* Schema name
* Client ID
* Client secret
* Table name

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FSb6VSypWGIe3xBHOw5Mi%2Fimage.png?alt=media&amp;token=5e0f0b6c-99e8-414e-99bb-33965b13d3b0" alt=""><figcaption><p>Fabric warehouse</p></figcaption></figure>

#### Fetching the DB name and connection string

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FFz89LHlTsgPAlvNp9Qgi%2Fimage.png?alt=media&amp;token=1121a943-658a-4264-97cb-563eb39ad2e4" alt=""><figcaption><p>DB name and connection string</p></figcaption></figure>

#### Fetching the Service Principal Client ID and Service Principal Client Secret

Refer to the highlighted fields in the screenshot below to get the Service Principal Client ID. Client Secret is obtained while creating the Service Principal Account.

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

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FUbWVFYS0Ag07vWekQwAw%2Fimage.png?alt=media&amp;token=2246fe77-8985-44dc-b841-c41a9ccd1559" alt=""><figcaption><p>Fetching the service principal client ID</p></figcaption></figure>

#### Additional configuration for optimised insert

To perform bulk insert when there is large data, ensure these items are configured:

1\. Create a **"Workspace Identity"** and then add the **"Service Principal"** as an **"Authorized User"**.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FRmdvVv32EiVXzX6t2gnR%2Fimage.png?alt=media&amp;token=2e23083c-4ca1-448c-afb3-b391bf949de5" alt=""><figcaption></figcaption></figure>

2\. Ensure that the **"Workspace Identity"** is whitelisted in the **"Resource Instance Rules"** of th&#x65;**"Storage Account"**.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fn0Wqw1O4X59gVAgljaqv%2Fimage.png?alt=media&amp;token=80546e65-bad0-4dab-b4e5-f4e2a3be3e71" alt=""><figcaption></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-warehouse.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.
