Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 2.4 KB

File metadata and controls

52 lines (38 loc) · 2.4 KB

← Back to DEPLOYMENT guide

Reusing an Existing Azure AI Foundry Project

To configure your environment to use an existing Azure AI Foundry Project, follow these steps:

1. Go to Azure Portal

Go to https://portal.azure.com

2. Search for Azure AI Foundry

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.

alt text

3. Navigate to Projects under Resource Management

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)

4. Click on the Project

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

alt text

5. Copy Resource ID

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

alt text

6. Set the Foundry Project Resource ID in Your Environment

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.

7. Continue Deployment

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>