> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-azure-ai-foundry-integration/create-an-azure-connection-to-an-edge-or-collibra-cloud-site.md). Agents can also search and read this documentation through its [MCP server](https://docs.collibra.com/~gitbook/mcp).

# Create an Azure connection to a Collibra Cloud site

After you are [granted a Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md), you can create a connection to the Azure platform.

## Prerequisites

### In your Collibra environment

* You were granted a [Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md).
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Manage connections and capabilities** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Edge integration engineer**.
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Catalog** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Catalog Author**.

### In your Azure AI environment

To integrate Azure AI Foundry assets, ensure the following

* You [registered your Azure application](https://learn.microsoft.com/en-us/azure/ai-foundry/concepts/rbac-ai-foundry).
* You [created a secret for your Azure application](https://learn.microsoft.com/en-us/entra/identity-platform/how-to-add-credentials?tabs=client-secret).
* You [created a custom role](https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles) with the following [Azure AI Foundry permissions](https://learn.microsoft.com/en-us/azure/ai-foundry/concepts/rbac-ai-foundry):
  * `Microsoft.MachineLearningServices/workspaces/serverlessEndpoints/read`
  * `Microsoft.MachineLearningServices/workspaces/onlineEndpoints/read`
  * `Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments/read`
  * `Microsoft.MachineLearningServices/workspaces/read`
  * `Microsoft.MachineLearningServices/workspaces/connections/read`
  * `Microsoft.MachineLearningServices/workspaces/*/read`
  * `Microsoft.Insights/Metrics/Read`
  * `Microsoft.Insights/Logs/Read`
  * `Microsoft.CognitiveServices/accounts/deployments/read`
  * `Microsoft.CognitiveServices/accounts/models/read`
  * `Microsoft.CognitiveServices/accounts/OpenAI/assistants/read`
  * `Microsoft.CognitiveServices/accounts/OpenAI/assistants/files/read`
  * `Microsoft.CognitiveServices/accounts/OpenAI/assistants/vector_stores/read`
  * `Microsoft.CognitiveServices/accounts/OpenAI/assistants/vector_stores/files/read`
  * `Microsoft.CognitiveServices/accounts/OpenAI/files/read`
  * `Microsoft.CognitiveServices/accounts/OpenAI/fine-tunes/read`
  * `Microsoft.CognitiveServices/accounts/OpenAI/1p-jobs/read`
  * `Microsoft.CognitiveServices/accounts/OpenAI/*/read`
* You [assigned your custom role to your Azure application](https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal).
* You have an [Azure AI User role in your Azure application](https://learn.microsoft.com/en-us/azure/foundry/concepts/rbac-foundry?view=foundry-classic#built-in-roles).

### In your Dataverse environment

To integrate [Microsoft Copilot Studio agents](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-azure-ai-foundry-integration/synchronize-azure-ai-foundry.md), the Azure AI Foundry integration connects to your Dataverse environments with a service principal. This is a registered application in Microsoft Entra ID that has read-only access to each Dataverse environment from which you want to integrate assets. Only Dataverse environments in the Microsoft public (commercial) cloud are supported. Sovereign clouds such as US government (GCC High and DoD) and China aren't supported.

If you already have an Azure connection configured for Azure AI Foundry, you can reuse the same app. Ensure that it has the Dataverse permissions in addition to its existing Azure permissions.

{% stepper %}
{% step %}
Register an app in Microsoft Entra ID and create a client secret. Enter its tenant ID, client ID and client secret in the Azure connection. For more information, go to the [Microsoft documentation](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/walkthrough-register-app-azure-active-directory).
{% endstep %}

{% step %}
Create a read-only security role in each Dataverse environment from which you want to integrate Microsoft Copilot Studio agents. Grant it the Read privilege on the Bot and Botcomponent tables at the Organization level. Use the Organization level for Read, a lower level hides agents that the app doesn't own. For more information, go to the [Microsoft documentation](https://learn.microsoft.com/en-us/power-platform/admin/security-roles-privileges).
{% endstep %}

{% step %}
Add the app as an application user in each environment and assign it the read-only security role you created in step 2. For more information, go to the Microsoft documentation on [managing application users](https://learn.microsoft.com/en-us/power-platform/admin/manage-application-users) and [assigning security roles](https://learn.microsoft.com/en-us/power-platform/admin/assign-security-roles).
{% endstep %}
{% endstepper %}

If you use the **Sync all environments** option in the [Microsoft Copilot Studio tab settings](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-azure-ai-foundry-integration/synchronize-azure-ai-foundry.md), agents from each environment in which you added the app as an application user (step 3) are integrated. To limit the environments that are integrated, add the app only to those environments. If you use a firewall, make sure your Collibra Cloud site can reach the following endpoints:

* `https://globaldisco.crm.dynamics.com`, used only when **Sync all environments** is selected
* `https://login.microsoftonline.com`
* `https://globaldisco.crm9.dynamics.com`, only for US Government Community Cloud (GCC) tenants
* The Dataverse host of every discovered environment, `https://<org>.crm<N>.dynamics.com`. Discovery can find environments you may not have used before, so a wildcard rule for `*.dynamics.com` may be simpler.

### In your Microsoft Entra environment

To [integrate Microsoft Agent Builder agents](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-azure-ai-foundry-integration/synchronize-azure-ai-foundry.md), the Azure AI Foundry integration uses the same service principal as the other tabs. You can reuse the same registered application. Ensure that it has the following permissions:

* The **AI Reader** Microsoft Entra role, assigned at the directory scope. The integration needs it to list Agent Builder agents across your tenant, and synchronization fails without it. AI Reader is the least privileged role that works. You can also use another Entra role that can view the whole Power Platform inventory instead, such as Power Platform Administrator, Dynamics 365 Administrator, Global Reader, or AI Administrator. For more information on the AI Reader role, go to the [Microsoft documentation](https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/permissions-reference#ai-reader).
* The Microsoft Graph `User.Read.All` application permission, with admin consent. The integration uses it to look up the names of each agent's owner and creator. Without it, the agents are still integrated, but the owner and creator names are empty and synchronization completes with errors.

If you use a proxy allowlist, allow `login.microsoftonline.com`, `management.azure.com`, and `graph.microsoft.com`.

## Steps

{% stepper %}
{% step %}
Open the Integrations page.

1. On the main toolbar, click <i class="fa-grid-round">:grid-round:</i> → **Integrations**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Integrations** page opens.
2. Click **Add an integration**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Select Edge site** step opens.
3. In the **Edge site** list, select your Collibra Cloud site and click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Create connection** step opens.
   {% endstep %}

{% step %}
In the **Connection** list, select **Azure connection** to connect to Azure.
{% endstep %}

{% step %}
Enter the required information.

| Field                    | Description                                                                                                                                                                                                                                                                                   | Required                            |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| Name                     | The name of the Collibra Cloud site connection for Azure.                                                                                                                                                                                                                                     | <i class="fa-check">:check:</i> Yes |
| Description              | The description of the connection.                                                                                                                                                                                                                                                            | <i class="fa-xmark">:xmark:</i> No  |
| Service Principal ID     | <p>The Application account ID to connect to the Azure.<br>For information on the Azure Service Principal user and the Application ID, go to the <a href="https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal">Azure documentation</a>.</p> | <i class="fa-check">:check:</i> Yes |
| Service Principal Secret | <p>The application secret for the Service Principal.<br>For information on the application secret value, go to the <a href="https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal">Azure documentation</a>.</p>                              | <i class="fa-check">:check:</i> Yes |
| Tenant ID                | <p>The Tenant ID of your Azure Active Directory.<br>For information on the Directory (tenant) ID, go to the <a href="https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal">Azure documentation</a>.</p>                                     | <i class="fa-check">:check:</i> Yes |
| {% endstep %}            |                                                                                                                                                                                                                                                                                               |                                     |

{% step %}
Click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The connection is added to the Collibra Cloud site.
{% endstep %}
{% endstepper %}

## What's next

You can now [add the Azure AI Foundry capability to a Collibra Cloud site](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-azure-ai-foundry-integration/add-the-azure-ai-foundry-capability.md).
