From a05239ccaf230220c056d7d1a5b42f1df778e391 Mon Sep 17 00:00:00 2001 From: Giles Odigwe Date: Tue, 6 Jan 2026 14:13:19 -0800 Subject: [PATCH] sharepoint sample fix --- .../agents/azure_ai/azure_ai_with_sharepoint.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/samples/getting_started/agents/azure_ai/azure_ai_with_sharepoint.py b/python/samples/getting_started/agents/azure_ai/azure_ai_with_sharepoint.py index a724bda2d2..a58de50e84 100644 --- a/python/samples/getting_started/agents/azure_ai/azure_ai_with_sharepoint.py +++ b/python/samples/getting_started/agents/azure_ai/azure_ai_with_sharepoint.py @@ -28,7 +28,11 @@ async def main() -> None: tools={ "type": "sharepoint_grounding_preview", "sharepoint_grounding_preview": { - "project_connection_id": os.environ["SHAREPOINT_PROJECT_CONNECTION_ID"] + "project_connections": [ + { + "project_connection_id": os.environ["SHAREPOINT_PROJECT_CONNECTION_ID"], + } + ] }, }, ) as agent,