diff --git a/Instructions/08-build-workflow-ms-foundry.md b/Instructions/08-build-workflow-ms-foundry.md index cf3e0eefc..291ed58b3 100644 --- a/Instructions/08-build-workflow-ms-foundry.md +++ b/Instructions/08-build-workflow-ms-foundry.md @@ -396,7 +396,9 @@ Now that you've built and tested your workflow in the Foundry portal, you can al ```python # Connect to the AI Project client with ( - DefaultAzureCredential() as credential, + DefaultAzureCredential( + exclude_environment_credential=True, + exclude_managed_identity_credential=True) as credential, AIProjectClient(endpoint=endpoint, credential=credential) as project_client, project_client.get_openai_client() as openai_client, ): @@ -516,4 +518,4 @@ If you've finished exploring workflows in Microsoft Foundry, you should delete t 1. Navigate to the [Azure portal](https://portal.azure.com) at `https://portal.azure.com` and view the contents of the resource group where your Foundry project was deployed. 1. On the toolbar, select **Delete resource group**. -1. Enter the resource group name and confirm that you want to delete it. \ No newline at end of file +1. Enter the resource group name and confirm that you want to delete it.