Skip to content

Commit d3d151f

Browse files
authored
Merge pull request #71 from microsoft/pewill/rolenamechange
fix: update role name. Adjust mcp url
2 parents 43c4972 + f02187d commit d3d151f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

challenge-0/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ As mentioned in [Context and Background](#-context-and-background), there are se
285285
To perform certain tasks in the hackathon, you need the following permissions:
286286

287287
- `Azure AI Developer` on the **Foundry project** resource (agent/project operations)
288-
- `Azure AI User` on the **AI Services** resource (agent create/run operations)
288+
ag- `Foundry User` on the **AI Services** resource (agent create/run operations)
289289
- `Cognitive Services OpenAI Contributor` on the **Azure OpenAI** resource (calling chat completions)
290290

291291
> [!IMPORTANT]
@@ -306,15 +306,15 @@ az role assignment create \
306306
--role "Azure AI Developer" \
307307
--scope "$AZURE_AI_PROJECT_RESOURCE_ID"
308308

309-
# Assign "Azure AI User" at the AI Services resource scope
309+
# Assign "Foundry User" at the AI Services resource scope
310310
# This is required for agent operations (create/run agents)
311311
# Derive the AI Services ID from the project resource ID
312312
AI_SERVICES_ID="${AZURE_AI_PROJECT_RESOURCE_ID%/projects/*}"
313313

314314
az role assignment create \
315315
--assignee-object-id "$ME_OBJECT_ID" \
316316
--assignee-principal-type User \
317-
--role "Azure AI User" \
317+
--role "Foundry User" \
318318
--scope "$AI_SERVICES_ID"
319319

320320
# Assign "Cognitive Services OpenAI Contributor" at the Azure OpenAI resource scope

challenge-1/create_knowledge_base.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
"credential = DefaultAzureCredential()\n",
250250
"project_resource_id = project_resource_id \n",
251251
"project_connection_name = \"machine-wiki-connection\"\n",
252-
"mcp_endpoint = f\"{search_endpoint}/knowledgebases/{knowledge_base_name}/mcp?api-version=2025-11-01-preview\" # This endpoint enables the MCP connection between the agent and knowledge base\n",
252+
"mcp_endpoint = f\"{search_endpoint}knowledgebases/{knowledge_base_name}/mcp?api-version=2025-11-01-preview\" # This endpoint enables the MCP connection between the agent and knowledge base\n",
253253
"\n",
254254
"# Get bearer token for authentication\n",
255255
"bearer_token_provider = get_bearer_token_provider(credential, \"https://management.azure.com/.default\")\n",
@@ -296,7 +296,7 @@
296296
"name": "python",
297297
"nbconvert_exporter": "python",
298298
"pygments_lexer": "ipython3",
299-
"version": "3.11.13"
299+
"version": "3.13.6"
300300
}
301301
},
302302
"nbformat": 4,

0 commit comments

Comments
 (0)