AI & ML
Microsoft Foundry project
Scopes application development, connections, and agent work within a Foundry account.
Naming rules
- Abbreviation
- Length
- 2–64
- Allowed characters
- Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- Uniqueness scope
- Microsoft.CognitiveServices/accounts
Azure Verified Modules naming utility v0.3.0 · AVM naming key account_project
Code examples
Adapt the examples to your environment and supply referenced resources and variables.
Terraform
Terraform documentationhcl
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
version = "~> 2.0"
}
}
}
variable "location" {
type = string
}
variable "name" {
type = string
}
variable "parent_id" {
description = "Full Azure resource ID of the parent resource or resource group."
type = string
}
resource "azapi_resource" "example" {
type = "Microsoft.CognitiveServices/accounts/projects@2026-11-01"
name = var.name
parent_id = var.parent_id
location = var.location
identity {
type = "SystemAssigned"
}
body = {
properties = {
displayName = var.name
}
}
}
Bicep
Bicep documentationbicep
param location string
param name string
@description('Slash-separated names of the parent resources in this resource group.')
param parentName string
resource example 'Microsoft.CognitiveServices/accounts/projects@2026-11-01' = {
name: '${parentName}/${name}'
location: location
identity: {
type: 'SystemAssigned'
}
properties: {
displayName: name
}
}
ARM template
ARM template documentationjson
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"location": {
"type": "string"
},
"name": {
"type": "string"
},
"parentName": {
"type": "string",
"metadata": {
"description": "Slash-separated names of the parent resources in this resource group."
}
}
},
"resources": [
{
"type": "Microsoft.CognitiveServices/accounts/projects",
"apiVersion": "2026-11-01",
"name": "[format('{0}/{1}', parameters('parentName'), parameters('name'))]",
"location": "[parameters('location')]",
"identity": {
"type": "SystemAssigned"
},
"properties": {
"displayName": "[parameters('name')]"
}
}
]
}
Private endpoints
These DNS suffixes cover several account kinds. Use the records returned for your account’s private endpoint. Clients continue to call the normal service hostname.
Service networking guidanceConfigure the private endpoint on the related resource Microsoft.CognitiveServices/accounts.
Choose the group ID for the connection you need. Available groups and DNS records depend on the cloud, region, SKU, and enabled features.
Azure public cloud
- Target subresources (group IDs)
- Private DNS zones
- Public DNS zones to forward
Azure Government
- Target subresources (group IDs)
- Private DNS zones
- Public DNS zones to forward