Go to https://portal.azure.com
In the search bar at the top, type "Azure AI Foundry" and click on it. Then select the Foundry service instance where your project exists.
On the left sidebar of the Foundry service blade:
- Expand the Resource Management section
- Click on Projects (this refers to the active Foundry project tied to the service)
From the Projects view: Click on the project name to open its details
Note: You will see only one project listed here, as each Foundry service maps to a single project in this accelerator
In the left-hand menu of the project blade:
- Click on Properties under Resource Management
- Locate the Resource ID field
- Click on the copy icon next to the Resource ID value
Run the following command in your terminal
azd env set AZURE_EXISTING_AI_PROJECT_RESOURCE_ID '<Existing Foundry Project Resource ID>'Replace <Existing Foundry Project Resource ID> with the value obtained from Step 5.
Proceed with the next steps in the deployment guide.
Note:
After deployment, if you want to access agents created by the accelerator via the Azure AI Foundry Portal, or if you plan to debug or run the application locally, you must assign yourself either the Azure AI User or Azure AI Developer role for the Foundry resource.
You can do this in the Azure Portal under the Foundry resource's "Access control (IAM)" section,
or run the following command in your terminal (replace<aad-user-upn>with your Azure AD user principal name and<resource-id>with the Resource ID you copied in Step 5):az role assignment create --assignee <aad-user-upn> --role "Azure AI User" --scope <resource-id>


