Getting Started
Provision all required Azure resources and create the Microsoft Foundry project.
Table of Contents
- Prerequisites
- Step 1 — Create a Resource Group
- Step 2 — Create the Foundry Project
- Step 3 — Deploy the LLM
- Step 4 — Provision Azure AI Search
- Step 5 — Provision Storage for Report Artifacts
- Step 6 — Configure Standard Agent Setup
- Step 7 — Grant Permissions (RBAC)
- What’s Next
Prerequisites
Ensure the following are in place before provisioning:
| Requirement | Details |
|---|---|
| Azure subscription | Owner or Contributor + User Access Administrator roles |
| Azure CLI | az --version ≥ 2.60 — Install |
| Azure Developer CLI | azd --version ≥ 1.9 — Install |
| Bicep CLI | az bicep install |
| Azure AI Projects Python SDK | pip install azure-ai-projects |
| Microsoft Foundry access | Sign in at ai.azure.com |
Step 1 — Create a Resource Group
az group create \
--name rg-swreq-approval \
--location eastus2
East US 2 is recommended for the widest model availability (gpt-4o, o3, text-embedding-3-large). Check Azure AI Foundry model availability for alternatives.
Step 2 — Create the Foundry Project
In the Microsoft Foundry portal:
- Click + New project.
- Set Project name:
swreq-approval-project. - Select your subscription and resource group
rg-swreq-approval. - Select region: East US 2.
- Under Customize, confirm the portal will auto-provision:
- Azure AI Services (multi-service account)
- Azure Key Vault
- Azure Storage Account
- Click Create project.
In the current Microsoft Foundry experience the Project is your primary workspace. A Hub is created automatically in the background but you interact exclusively with the project. You do not need to create a Hub manually.
Note the project endpoint — you’ll need it for Copilot Studio connector setup:
https://<hub-name>.services.ai.azure.com/api/projects/<project-name>
Step 3 — Deploy the LLM
In Foundry > Model Catalog:
- Search for
gpt-4o. - Select version
2024-11-20. - Click Deploy > Customize:
- Deployment name:
gpt-4o-swreq - Tokens per minute:
100,000(scale as needed)
- Deployment name:
- (Optional) Repeat for
o3if you want deeper reasoning for Compliance/Security agents.
Step 4 — Provision Azure AI Search
az search service create \
--name ai-search-swreq \
--resource-group rg-swreq-approval \
--sku standard \
--location eastus2 \
--partition-count 1 \
--replica-count 1
Create the three required indexes in the portal or via the REST API:
| Index Name | Content |
|---|---|
policy-index | Internal IT/security/compliance policies |
vendor-index | Approved/denied vendors, past evaluations |
report-template-index | Report templates and past approved reports |
compliance-frameworks-index | NIST CSF, CIS Controls, ISO annexes, FedRAMP docs |
cve-bulletins-index | Internal security advisories, patch notes |
Step 5 — Provision Storage for Report Artifacts
az storage account create \
--name swreqreports \
--resource-group rg-swreq-approval \
--location eastus2 \
--sku Standard_LRS \
--kind StorageV2
Step 6 — Configure Standard Agent Setup
The Standard Agent Setup connects your own Azure Storage and AI Search instance for agent thread storage and knowledge indexing.
In the Foundry portal:
- Navigate to your project > Settings > Agent settings.
- Select Standard setup.
- Connect:
- Azure AI Storage: select
swreqreports. - Azure AI Search: select
ai-search-swreq.
- Azure AI Storage: select
- Click Apply.
This provisions a Capability Host that all agents use for thread storage, file retrieval, and knowledge indexing. Standard setup is required to connect agents to your own AI Search indexes.
Step 7 — Grant Permissions (RBAC)
# Foundry agents → read from AI Search
az role assignment create \
--assignee <foundry-agent-managed-identity-object-id> \
--role "Search Index Data Reader" \
--scope /subscriptions/{sub}/resourceGroups/rg-swreq-approval/providers/Microsoft.Search/searchServices/ai-search-swreq
# Foundry agents → write reports to Storage
az role assignment create \
--assignee <foundry-agent-managed-identity-object-id> \
--role "Storage Blob Data Contributor" \
--scope /subscriptions/{sub}/resourceGroups/rg-swreq-approval/providers/Microsoft.Storage/storageAccounts/swreqreports
All identities use Managed Identity — no secrets or API keys in agent configurations. See Security & RBAC for the full identity model.
What’s Next
- Configuration — configure LLM models, Bing grounding, knowledge bases, and each agent in the Foundry portal.
- Multi-Agent Design — review each agent’s system prompt and tool list before configuring.