Skip to content

Commit b4af9f1

Browse files
Merge pull request #7611 from jonburchel/2025-10-10-developer-focused-chat-testing
Dev-focused reviews with Copilot
2 parents 08c1a9f + b7e2403 commit b4af9f1

File tree

5 files changed

+54
-7
lines changed

5 files changed

+54
-7
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ _repo.*/
2020
.github/prompts/*.md
2121
.github/prompts/*.zip
2222
.github/patterns/*.md
23+
.github/chatmodes/*.md
24+
.github/instructions/*.md
25+
2326

2427
articles/ai-foundry/includes/get-started-fdp.md
2528
articles/ai-foundry/toc-files/setup-management/toc.yml

articles/ai-services/includes/quickstarts/management-azcli.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ Use this quickstart to create an AI Foundry resource using [Azure Command-Line I
1919
## Prerequisites
2020

2121
* A valid Azure subscription - [Create one](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn) for free.
22-
* The [Azure CLI](/cli/azure/install-azure-cli)
22+
* The [Azure CLI](/cli/azure/install-azure-cli) version 2.0 or later.
23+
* Azure RBAC role to create resources. You need one of the following roles assigned on your Azure subscription or resource group:
24+
* Contributor
25+
* Owner
26+
* Custom role with `Microsoft.CognitiveServices/accounts/write` permission
2327

2428
## Install the Azure CLI and sign in
2529

articles/ai-services/includes/quickstarts/management-azportal.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ keywords:
1919
## Prerequisites
2020

2121
* A valid Azure subscription - [Create one for free](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
22+
* Azure RBAC role to create resources. You need one of the following roles assigned on your Azure subscription or resource group:
23+
* Contributor
24+
* Owner
25+
* Custom role with `Microsoft.CognitiveServices/accounts/write` permission
2226

2327
## Create a new Azure AI Foundry resource
2428

articles/ai-services/includes/quickstarts/management-azpowershell.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ Use this quickstart to create an AI Foundry resource using [Azure PowerShell](/p
1919
## Prerequisites
2020

2121
* A valid Azure subscription - [Create one](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn) for free.
22-
* [Azure PowerShell](/powershell/azure/install-azure-powershell).
22+
* [Azure PowerShell](/powershell/azure/install-azure-powershell) version 5.0 or later.
23+
* Azure RBAC role to create resources. You need one of the following roles assigned on your Azure subscription or resource group:
24+
* Contributor
25+
* Owner
26+
* Custom role with `Microsoft.CognitiveServices/accounts/write` permission
2327

2428
## Install Azure PowerShell and sign in
2529

articles/ai-services/multi-service-resource.md

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,31 @@ ms.custom:
1313
- build-2024
1414
- ignite-2024
1515
- build-2025
16+
- ai-assisted
17+
ai-usage: ai-assisted
1618
zone_pivot_groups: programming-languages-portal-cli-ps
1719
---
1820

1921
# Quickstart: Set up your first AI Foundry resource
2022

23+
In this quickstart, you create an Azure AI Foundry resource and verify access.
24+
2125
Learn how to create and manage an Azure AI Foundry resource. It's the [primary Azure resource type](../ai-foundry/concepts/resource-types.md) for building, deploying, and managing generative AI models and applications including agents in Azure.
2226

2327
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.
2428

2529
Azure AI Foundry resource is the next version and renaming of former "Azure AI Services". It provides the application environment for hosting your agents, model deployments, evaluations, and more.
2630

31+
An Azure AI Foundry resource can organize the work for multiple use cases, and is [typically shared](../ai-foundry/concepts/planning.md) 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.
32+
33+
:::image type="content" source="../ai-foundry/media/how-to/projects/projects-multi-setup.png" alt-text="Diagram showing Azure AI Foundry resource containing multiple projects, each with deployments and connections.":::
34+
2735
Looking to configure AI Foundry with advanced security settings? See [advanced AI Foundry creation options](../ai-foundry/how-to/create-resource-template.md)
2836

2937
Looking to use [Azure AI Search skills?](../search/tutorial-skillset.md) See [Use Azure AI Foundry with Azure AI Search skills](multi-services-resource-search-skills.md).
3038

3139
## Create your first resource
3240

33-
An Azure AI Foundry resource can organize the work for multiple use cases, and is [typically shared](../ai-foundry/concepts/planning.md) between a team of developers that work on use cases in a similar business or data domain. Projects acts as folders to group related work.
34-
35-
:::image type="content" source="../ai-foundry/media/how-to/projects/projects-multi-setup.png" alt-text="Diagram explaining concepts of an Azure AI Foundry setup.":::
36-
3741
To create your first resource, with basic Azure settings, follow the below steps using either Azure portal, Azure CLI, or PowerShell.
3842

3943
::: zone pivot="azportal"
@@ -58,6 +62,34 @@ To create your first resource, with basic Azure settings, follow the below steps
5862

5963
With your first resource created, you can access it via [Foundry Portal for UX prototyping](https://ai.azure.com/), [Foundry SDK for development](), or via [Azure portal for administrative management](https://portal.azure.com).
6064

65+
### Verify your setup
66+
67+
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.
68+
69+
```python
70+
# Install the SDK: pip install azure-ai-projects azure-identity
71+
from azure.ai.projects import AIProjectClient
72+
from azure.identity import DefaultAzureCredential
73+
74+
# Replace with your actual values from Azure portal
75+
client = AIProjectClient(
76+
subscription_id="<your-subscription-id>",
77+
resource_group_name="<your-resource-group>",
78+
project_name="<your-project-name>",
79+
credential=DefaultAzureCredential()
80+
)
81+
82+
# List projects to verify connection
83+
projects = client.projects.list()
84+
print(f"Successfully connected. Found {len(list(projects))} projects.")
85+
```
86+
87+
**Expected output**: `Successfully connected. Found X projects.` where X is the number of projects in your resource.
88+
89+
**References**:
90+
- [AIProjectClient class](/python/api/azure-ai-projects/azure.ai.projects.aiprojectclient)
91+
- [DefaultAzureCredential class](/python/api/azure-identity/azure.identity.defaultazurecredential)
92+
6193
## Grant or obtain developer permissions
6294

6395
[Azure Role Based Access Control](/azure/role-based-access-control/resource-provider-operations) (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.
@@ -76,7 +108,7 @@ Only authorized users, typically the Azure subscription or resource group owner,
76108
77109
## Start building in your first project
78110

79-
With permissions set up, you're now ready to start building Foundry. In [Azure AI Foundry Portal](https://ai.azure.com/) open or [create your first project](../ai-foundry/how-to/create-projects.md). Projects organize your agent and model customization work in Foundry, and you can create multiple under the same resource.
111+
With permissions set up, you're now ready to start building Foundry. In [Azure AI Foundry Portal](https://ai.azure.com/) open or [create your first project](../ai-foundry/how-to/create-projects.md). Projects organize your agent and model customization work in Foundry, and you can [create multiple under the same resource](../ai-foundry/how-to/create-projects.md#create-multiple).
80112

81113
Explore some of the services that come bundled with your resource:
82114

0 commit comments

Comments
 (0)