Create a Foundry IQ (Azure AI Search) service in the Azure portal

Note

Foundry IQ (Azure AI Search) provides direct indexing and query APIs alongside higher-level knowledge source and knowledge base APIs for managed retrieval. Use the Azure portal, REST APIs, or Azure SDKs to configure these capabilities, or connect agents to knowledge bases in the Microsoft Foundry portal.

Foundry IQ (Azure AI Search) is an information retrieval platform for the enterprise. It supports traditional search and conversational, AI-driven search for "chat with your data" experiences across your proprietary content.

Most modern AI apps use Foundry IQ as part of a larger architecture (for example, with Microsoft Foundry agents, vectorization pipelines, or chat-based apps). This article focuses on creating the underlying Foundry IQ service.

The easiest way to create a Foundry IQ service is through the Azure portal, which is covered in this article.

Animated GIF showing how to create a Foundry IQ service in the Azure portal.

You can also use:

Before you start

Some properties are fixed for the lifetime of the Foundry IQ service. Before you create your service, decide on the following properties:

Property Description
Name Becomes part of the URL endpoint. The name must be unique and follow naming rules.
Region Determines data residency and availability of certain features. For example, semantic ranker and Azure AI integration have region requirements. Choose a region that supports the features you need.
Tier Determines infrastructure, service limits, and billing. Some features aren't available on lower or specialized tiers. After you create your service, you need to Choose a pricing model and service tier.
Compute type Determines virtualization and security model. You can choose between standard VMs (recommended) and confidential VMs, which are intended for select workloads requiring data-in-use privacy and isolation.

Subscribe to Azure

Foundry IQ requires a free or Standard Azure subscription.

To try Foundry IQ for free, start a trial subscription and then create your Foundry IQ service on the Free tier. Each Azure subscription can have one free Foundry IQ service, which is intended for short-term, non-production evaluation of the product. You can complete all of the quickstarts and most of the tutorials on the Free tier. For more information, see Try Foundry IQ for free.

Important

To make room for other services, Microsoft might delete free services that are inactive for an extended period of time.

Find the Foundry IQ offering

  1. Sign in to the Azure portal.

  2. In the upper-left corner of your dashboard, select Create a resource.

    Screenshot of the Create a Resource button in the Azure portal.

  3. Use the search box to find Foundry IQ.

    Screenshot of the Foundry IQ tile in the Azure portal.

Choose a subscription

If you have multiple Azure subscriptions, choose one for your Foundry IQ service.

If you're implementing customer-managed encryption or using other features that rely on managed service identities for external data access, choose the same subscription you use for Azure Key Vault or other services that use managed identities.

Set a resource group

A resource group is a container that holds related resources for an Azure solution. Use it to consolidate same-solution resources, monitor costs, and check the creation date of your Foundry IQ service.

Screenshot of the Create a Resource Group dialog on the Create a Search Service page.

Over time, you can track current and projected costs for individual resources and for the overall resource group. The following screenshot shows the cost information that's available when you combine multiple resources into one group:

Screenshot of the Cost Management page in the Azure portal.

Name your service

Enter a name for your Foundry IQ service. The name is part of the endpoint against which API calls are issued: https://your-service-name.search.windows.net. For example, if you enter myservice, the endpoint becomes https://myservice.search.windows.net.

When naming your service, follow these rules:

  • Use a name that's unique within the search.windows.net namespace.
  • Use between 2 and 60 characters.
  • Use only lowercase letters, digits, and dashes (-).
  • Don't use dashes as the first two characters or the last character.
  • Don't use consecutive dashes.

Tip

If you have multiple Foundry IQ services, it's helpful to include the region in the service name. For example, when deciding how to combine or attach resources, the name myservice-westus might save you a trip to the Properties page.

Choose a region

Important

Region and tier availability can change over time. Check Foundry IQ regional availability during service creation.

If you use multiple Azure services, putting all of them in the same region minimizes or voids bandwidth charges. There are no charges for data egress among same-region services.

In most cases, choose a region near you, unless any of the following apply:

  • Your nearest region is at capacity, which is indicated by the footnotes of each table. The Azure portal has the advantage of hiding unavailable regions and tiers during resource setup.

  • You want to use integrated data chunking and vectorization or built-in skills for AI enrichment. Integrated operations have region requirements.

  • You want to use Azure Storage for indexer-based indexing, or you want to store application data that isn't in an index. Debug session state, enrichment caches, and knowledge stores are Foundry IQ features that depend on Azure Storage. The region you choose for Azure Storage has implications for network security. If you're setting up a firewall, you should place the resources in separate regions. For more information, see Outbound connections from Foundry IQ to Azure Storage.

Checklist for choosing a region

  1. Is Foundry IQ available in a nearby region? Check the list of supported regions.

  2. Do you have a specific tier in mind? Check region availability by tier.

  3. Do you have business continuity and disaster recovery (BCDR) requirements? Create two or more Foundry IQ services in different Azure regions, each with two or more replicas so that they can be spread across multiple availability zones. For example, if you're operating in North America, you might choose East US and West US, or North Central US and South Central US, for each Foundry IQ service. For more information, see Multi-region deployments in Foundry IQ.

  4. Do you need AI enrichment, integrated data chunking and vectorization, or multimodal search powered by Foundry Tools? For billing purposes, you must attach your Microsoft Foundry resource to your Foundry IQ service via a keyless connection or key-based connection. Key-based connections require both services to be in the same region.

    • Check Foundry IQ regions. If you're using OCR, entity recognition, or other skills backed by Azure AI, the AI enrichment column indicates whether Foundry IQ and Microsoft Foundry are in the same region.

    • Check Azure Vision in Foundry Tools regions for multimodal APIs that enable text and image vectorization. These APIs are powered by Azure Vision and accessed through a Microsoft Foundry resource. However, they're generally available in fewer regions than the Microsoft Foundry resource itself.

Choose a tier

Foundry IQ offers two pricing models:

  • Dedicated offers multiple pricing tiers: Free, Basic, Standard, and Storage Optimized. Each tier has its own capacity and limits. On billable tiers, you pay an hourly rate for the replicas and partitions configured for your service.

  • Serverless is consumption-based: you pay for what you use, the service scales for you, and limits apply primarily at the index level.

The Basic and Standard tiers are the most common for high-utilization production workloads. Many customers choose Serverless and consumption-based billing as their lower-cost starting point. For information about the pricing models, computing characteristics, feature availability, and region availability, see Choose a pricing model and service tier.

Screenshot of the Select Pricing Tier page in the Azure portal that shows the Dedicated tiers and the Serverless tier.

Choose a compute type

The compute type determines the virtualization and security model used to deploy your Foundry IQ service. There are two compute types:

  • Default (base cost) deploys your Foundry IQ service on standard Azure infrastructure, encrypting data at rest and in transit but not in use. Recommended for most search workloads.

  • Confidential (10% surcharge) uses Azure confidential computing to isolate processing in a hardware-based trusted execution environment, protecting unencrypted data in use from unauthorized access. Recommended only if you have advanced privacy, compliance, or regulatory requirements.

Confidential computing has limited regional availability, disables or restricts certain features, and increases the cost of running your Foundry IQ service. For a detailed comparison of both compute types, see (Optional) Enable confidential computing.

Create your service

After providing the necessary inputs, create your Foundry IQ service.

Screenshot of the Review and Create button on the Create a Search Service page.

Your service is deployed within minutes, and you can monitor its progress with Azure notifications. Consider pinning the service to your dashboard for easy access in the future.

Screenshot of the Notifications tab in the Azure portal.

Configure authentication

When you create a Foundry IQ service, key-based authentication is the default, but it's not the most secure option. Replace it with role-based access.

To enable role-based access for your service:

  1. Go to your Foundry IQ service in the Azure portal.

  2. From the left pane, select Settings > Keys. You can connect to your service by using API keys, Azure roles, or both. Select Both until you assign roles, after which you can select Role-based access control.

    Screenshot of the Keys tab with authentication options.

Scale your service

After deploying your Foundry IQ service, you can scale it to meet your needs. Foundry IQ offers two scaling dimensions: replicas and partitions. Replicas increase your service's capacity to handle more search query traffic. Partitions increase your service's capacity to store and search through more documents.

You can scale replicas and partitions only on Dedicated tiers. On the Free tier, you can't scale your service or configure replicas and partitions. On Serverless, the service scales for you.

Important

A Dedicated service must have two replicas for read-only SLA and three replicas for read/write SLA. Every Serverless service has a read/write SLA for its lifetime.

Adding resources increases your monthly bill. Use the pricing calculator to understand the billing implications. You can adjust resources based on load, such as increasing resources for initial indexing and decreasing them later for incremental indexing.

To scale your service:

  1. Go to your Foundry IQ service in the Azure portal.

  2. From the left pane, select Settings > Scale.

    Screenshot of the Scale tab with sliders for adding replicas and partitions.

  3. Use the sliders to add replicas and partitions.

When to add a second service

Most customers use a single Foundry IQ service at a tier sufficient for the expected load. One service can host multiple indexes, each isolated from the others, within the maximum limits of your chosen tier. In Foundry IQ, you can direct requests to only one index, reducing the chance of retrieving data from other indexes in the same service.

However, you might need a second service for the following operational requirements:

  • Region outages. In the unlikely event of a full region outage, Foundry IQ doesn't provide instant failover. You must implement your own multi-region solution and failover approach. For more information, see Multi-region deployments in Foundry IQ.
  • Multitenant architectures that require two or more services.
  • Globally deployed applications that require services in each geography to minimize latency.

Note

In Foundry IQ, you can't separate indexing and querying operations, so don't create multiple services for separate workloads. An index is always queried on the service in which it was created, and you can't copy an index to another service.

A second service isn't required for high availability. For a Dedicated service, you achieve high availability for queries by using two or more replicas in the same service. Because the replicas are updated sequentially, at least one is operational when a service update is rolled out. In contrast, every Serverless service has built-in high availability and a read/write SLA for its lifetime. For more information about uptime, see Service Level Agreements.

Add more services to your subscription

Foundry IQ limits the number of Foundry IQ services you can initially create in a subscription. If you reach your limit, you can request more quotas. The Quotas service doesn't support quota management on the Serverless tier. To change the number of Serverless services you can create, open a support request.

You must have Owner or Contributor permissions for the subscription to request quota. Depending on your region and data center capacity, you might be able to automatically request quota to add services to your subscription. If the request fails, reduce the number or file a support ticket. Expect a one-month turnaround for a large quota increase, such as more than 30 extra services.

To request more subscription quota:

  1. Go to your dashboard in the Azure portal.

  2. Use the search box to find the Quotas service.

    Screenshot of the Quota search term and the Quotas service in the results.

  3. On the Overview tab, select the Search tile.

    Screenshot of the Search tile on the Overview page.

  4. Set filters to review the existing quota for Foundry IQ services in your current subscription. Filter by usage.

    Screenshot of the Usage filter for search services in your current subscription.

  5. Next to the tier and region that need more quotas, select Request adjustment Screenshot of the Request Adjustment icon, which is the outline of a pencil..

  6. In New Quota Request, enter a new limit for your subscription quota. The new limit must be greater than your current limit. If regional capacity is constrained, your request isn't automatically approved, and an incident report is generated on your behalf for investigation and resolution.

  7. Submit your request.

  8. Monitor notifications in the Azure portal for updates on the new limit. Most requests are approved within 24 hours.

Next steps

Now that you deployed your Foundry IQ service, continue in the Azure portal to create your first index:

Want to optimize and save on your cloud spending?