Uredi

Bring your own cross-resource capacity in Content Understanding

Connect an external Azure OpenAI or Foundry resource to your Content Understanding resource. Route model usage through the connected resource to reuse existing capacity.

Prerequisites

  • An active Azure subscription. If you don't have one, create a free account.
  • A Microsoft Foundry resource created in a supported region.
  • An Azure OpenAI or Foundry resource with supported chat completion and embeddings deployments. For model and deployment requirements, see Connect your Content Understanding resource with Foundry models and Service quotas and limits.
  • Access to configure both resources in the Azure portal, including permissions to create connected resources and add role assignments.
  • One of the following supported authentication configurations:
    • API key authentication with key-based authentication and public network access enabled on the connected resource.
    • Account Managed Identity authentication with a system-assigned managed identity enabled on the Content Understanding resource.

Review the cross-resource flow

Use this high-level diagram to understand how Content Understanding uses a connected resource for model inference.

+---------------------------------------------------------------+
| Azure subscription                                            |
|                                                               |
|  +---------------------------+                                |
|  | Content Understanding     |                                |
|  | resource                  |                                |
|  |                           |                                |
|  | defaults:                 |                                |
|  | gpt-5.2 -> connA/gpt52    |                                |
|  +-------------+-------------+                                |
|                |                                              |
|    analyze API | uses default deployment mapping              |
|                v                                              |
|  +---------------------------+                                |
|  | Connected resource        |                                |
|  | (Azure OpenAI or Foundry) |                                |
|  |                           |                                |
|  | deployments:              |                                |
|  | - gpt-5.2                 |                                |
|  | - text-embedding-3-large  |                                |
|  +---------------------------+                                |
|                                                               |
|  Authentication path: API key or Account Managed Identity     |
+---------------------------------------------------------------+

Connect an Azure OpenAI or Foundry resource

Connect your model resource from the management center of your Content Understanding resource.

Note

The portal might require a project to open the management center, but the connection must be associated with the resource, not under a specific project.

  1. Open the Foundry resourse where you're using Content Understanding in the Azure portal.

  2. Open the Foundry resource where you're using Content Understanding in the Azure portal.

  3. Select Go to Azure AI Foundry portal. Screenshot of the Foundry resource overview page with Go to Foundry portal highlighted.

  4. Open Management center. You need to open management center at the resource level, not the project level. Screenshot of the Foundry overview page with Open in management center highlighted.

  5. Select Connected resources. Screenshot of the Management center navigation with Connected resources highlighted.

  6. Select New connection. Screenshot of the Manage connected resources page with New connection highlighted.

  7. Select Azure OpenAI or Microsoft Foundry. Screenshot of the Add a connection to external assets dialog with Azure OpenAI and Microsoft Foundry highlighted.

  8. Search for and select your resource. Screenshot of the Connect a Microsoft Foundry resource dialog with resource search and Add connection controls.

  9. Select a supported authentication type, and then select Add connection.

    Authentication details:

    • API key: Content Understanding uses the API key from the connected resource.
      • The connected resource must allow API key authentication.
      • The public endpoint of the connected resource must be available. API key authentication isn't supported when the connected resource restricts access to selected networks or a virtual network.
    • Account Managed Identity: Content Understanding uses the system-assigned managed identity of the Content Understanding resource.

    After the operation completes, the connection appears in Connected resources. Screenshot showing the connected resource listed in Connected resources after setup.

Creating the connection doesn't grant the Content Understanding resource access to the connected resource.

Grant access to the connected resource

If you select Account Managed Identity, grant the Content Understanding resource's system-assigned managed identity access to the connected resource.

  1. In the Azure portal, open the connected Azure OpenAI or Foundry resource.
  2. Select Access control (IAM).
  3. Select Add > Add role assignment.
  4. Select the Cognitive Services User role.
  5. For Assign access to, select Managed identity, and then select Select members.
  6. Select the system-assigned managed identity of your Content Understanding resource.
  7. Select Review + assign.

For more information about managed identities, see Security features in Azure Content Understanding in Foundry Tools.

Configure network access

Configure network access on the connected resource for the authentication type that you selected:

  • API key requires public network access to the connected resource.
  • Account Managed Identity supports a connected resource that uses selected networks. On the connected resource's Networking page, select Allow Azure services on the trusted services list to access this account, and then save the change.

Set default deployments for cross-resource usage

Set resource defaults so analyzers can use the connected deployment with the {ConnectionName}/{DeploymentName} format.

Before you start:

  • Get the connection name from Connected resources.
  • Get the deployment name from Models + endpoints in the connected resource.

Use the defaults API to set model deployments:

PATCH {endpoint}/contentunderstanding/defaults?api-version=2025-11-01
Content-Type: application/json

{
  "modelDeployments": {
    "prebuilt-analyzer-completion": "MyConnection/MyGPTDeployment",
    "prebuilt-analyzer-embedding": "MyConnection/MyEmbeddingsDeployment"
  }
}

Verify the configuration

Choose one of the following options to verify your setup.

Option 1: Verify with Content Understanding Studio

  1. Follow Quickstart: Try out Content Understanding Studio with the primary resource.
  2. In Studio, run a prebuilt analyzer on a sample file.
  3. Confirm the analysis completes and returns structured results in the results pane.

Option 2: Verify with the REST quickstart

  1. Follow Quickstart: Use Azure Content Understanding in Foundry Tools REST API.
  2. Run the sample request in Send a file for analysis.
  3. Confirm the operation succeeds by checking Get analyze result and verifying status is Succeeded.

If either verification path succeeds, your Content Understanding resource is using the connected cross-resource capacity.