Skip to main content
In this quickstart, you create a Microsoft Foundry resource and verify access. Learn how to create and manage a Foundry resource. It’s the primary Azure resource type for building, deploying, and managing generative AI models and applications including agents in Azure. An Azure resource is required to use and manage services in Azure. It defines the scope for configuring access, security such as networking, billing, and monitoring. Foundry resource is the next version and renaming of former “Foundry Tools”. It provides the application environment for hosting your agents, model deployments, evaluations, and more. A Foundry resource can organize the work for multiple use cases, and is typically shared between a team of developers that work on use cases in a similar business or data domain. Projects act as folders to group related work.
Diagram showing Foundry resource containing multiple projects, each with deployments and connections.
Only the default project is available in the Foundry (new) portal. Use the Foundry (classic) portal to interact with all other projects on a Foundry resource.
Looking to configure Foundry with advanced security settings? See advanced Foundry creation options

Create your first resource

To create your first resource, with basic Azure settings, follow the below steps using either Azure portal, Azure CLI, or PowerShell.

Access your resource

With your first resource created, you can access it via Foundry portal for UX prototyping, Foundry SDK for development, or via Azure portal for administrative management.

Verify your setup

You can verify that your resource is set up correctly by using the Azure AI Projects SDK to connect and list projects. This minimal example confirms authentication and access.
# Install the SDK: pip install azure-ai-projects azure-identity
from azure.ai.projects import AIProjectClient
from azure.identity import DefaultAzureCredential

# Replace with your actual values from Azure portal
client = AIProjectClient(
    subscription_id="<your-subscription-id>",
    resource_group_name="<your-resource-group>",
    project_name="<your-project-name>",
    credential=DefaultAzureCredential()
)

# List projects to verify connection
projects = client.projects.list()
print(f"Successfully connected. Found {len(list(projects))} projects.")
Expected output: Successfully connected. Found X projects. where X is the number of projects in your resource. References:

Grant or obtain developer permissions

Azure Role Based Access Control (RBAC) differentiates permissions between management and development actions. To build with Foundry, your user account must be assigned developer permissions (“data actions”). You can either use one of the built-in RBAC roles, or use a custom RBAC role. Built-in Azure RBAC developer roles for Foundry include:
RoleDescription
Azure AI Project ManagerGrants development permissions, and project management permissions. Can invite other users to collaborate on a project as ‘Azure AI User’.
Azure AI UserGrants development permissions.
Azure AI Account OwnerGrants full access to manage AI projects and accounts. Can invite other users to collaborate on a project as ‘Azure AI User’.
Azure AI OwnerGrants full access to managed AI projects and accounts and build and develop with projects.
The Azure AI Owner role will be available to assign in the Azure and Foundry portal soon.
Diagram of the built-in roles in Foundry.
For larger enterprises with strict role based access requirements, we recommend utilizing the Azure AI User role the least privilege developer permissions. For smaller enterprises wanting their developers to self-serve within their organization, we recommend utilizing the Azure AI Owner role for developer permissions as well as resource creation permissions. Only authorized users, typically the Azure subscription or resource group owner, can assign a role via either [Azure portal](link to Azure portal) or [Foundry portal via Admin](Link to Foundry portal). Learn more about role-based access control.
Azure Owner and Contributor roles do only include management permissions, and not development permissions. Development permissions are required to build with all capabilities in Foundry.

Start building in your first project

With permissions set up, you’re now ready to start building Foundry. In Foundry portal open or create your first project. Projects organize your agent and model customization work in Foundry, and you can create multiple under the same resource. Explore some of the services that come bundled with your resource:
ServiceDescription
Foundry icon Foundry Agent ServiceCombine the power of generative AI models with tools that allow agents to access and interact with real-world data sources.
Foundry icon Azure Model InferencePerforms model inference for flagship models in the Foundry model catalog.
Azure OpenAI in Foundry Models icon Azure OpenAIPerform a wide variety of natural language tasks.
Content Safety icon Content SafetyA Foundry Tool that detects unwanted contents.
Document Intelligence icon Document IntelligenceTurn documents into intelligent data-driven solutions.
Language icon LanguageBuild apps with industry-leading natural language understanding capabilities.
Speech icon SpeechSpeech to text, text to speech, translation, and speaker recognition.
Translator icon TranslatorUse AI-powered translation technology to translate more than 100 in-use, at-risk, and endangered languages and dialects.

Next steps