Prerequisites
Before you set up the integration, ensure you have:- Azure subscription: You need the Owner role on the subscription.
- Key Vault: Create at least one Key Vault with the Key Vault Administrator role assigned to you.
- Foundry project: Create a project with the Foundry User and Foundry Account Owner roles assigned to you.
The Foundry RBAC roles were recently renamed. Foundry User, Foundry Owner, Foundry Account Owner, and Foundry Project Manager were previously named Azure AI User, Azure AI Owner, Azure AI Account Owner, and Azure AI Project Manager. You might still see the previous names in some places while the rename rolls out. The role IDs and core permissions are unchanged by the rename.
- Managed Identity: Create at least one user-assigned Managed Identity and attach it to the Foundry resource in the Azure portal under Resource Management > Identity.
Enablement and data processing
Third-party integrations are enabled via a Bring Your Own License (BYOL) approach, allowing you to utilize existing third-party software licenses from supported partners. Your data is processed outside of Azure AI Foundry using the service you selected. The terms and privacy commitments for your other service is applied to this processing.Steps to connect integration
- Follow the third-party integrations steps and retrieve your API key linked to your custom security profile. We recommend that your Foundry project is in the same region as the third-party endpoint. View supported regions here.
- Go to AI Foundry and select Guardrails.
- Select the Integrations tab, and add a third-party integration. Then, select your desired third-party integration.
- Select a Keyvault and Managed Identity.
- Add the endpoint and API keys. To get the endpoint-API key pair, follow the third-party integrations steps.
Third-party integrations
This section links resources to third-party instructions on retrieving API keys and creating custom profiles. In the steps to connect integration section, you can use these links to continue connecting your integration.| Model | Onboarding step |
|---|---|
| Palo Alto Networks | Prisma AIRS |
| Zenity | AI Detection and Response. |
Attach Integrations to Foundry Guardrails
- Select one or more Foundry Guardrails to attach the integration.
- Select Save and confirm integration and guardrail attachment in the integrations table.
- Confirm the status. Running indicates that a connection has been successfully established.
- Error messages point to concrete recommendations (for example, missing Managed Identity).
- Follow the main Foundry Guardrail flow to assign a custom guardrail with an active third-party integration to a model or agent.
- Test in Playground.
Code Examples
Output
Region availability
The following table shows supported regions. We recommend that your Foundry project is in the same region as the third-party endpoint. Different regions can cause higher latency and potential timeouts.| Azure Region | Recommended Endpoint | Third-party Integration |
|---|---|---|
| West US | US | Zenity, Palo Alto Networks Prisma AIRS |
| West US 2 | US | Zenity |
| West US 3 | US | Zenity, Palo Alto Networks Prisma AIRS |
| West Central US | US | Zenity, Palo Alto Networks Prisma AIRS |
| Central US | US | Zenity |
| North Central US | US | Zenity |
| South Central US | US | Zenity |
| East US | US | Zenity |
| East US 2 | US | Zenity |
| Canada Central | US | Zenity |
| Canada East | US | Zenity |
| West Europe | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| North Europe | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| France Central | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| Germany West Central | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| Italy North | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| Spain Central | Europe | Zenity |
| Sweden Central | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| Norway East | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| Switzerland North | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| Switzerland West | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| UK South | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| UK West | Europe | Zenity, Palo Alto Networks Prisma AIRS |
| South India | India | Palo Alto Networks Prisma AIRS |
| Southeast Asia | Singapore | Palo Alto Networks Prisma AIRS |
| East Asia | Singapore | Palo Alto Networks Prisma AIRS |