From ea370f8ff68c5c1b7f69d4968aded9e0895578a9 Mon Sep 17 00:00:00 2001 From: Giles Odigwe <79032838+giles17@users.noreply.github.com> Date: Tue, 6 Jan 2026 14:57:54 -0800 Subject: [PATCH] sharepoint sample fix (#3108) --- .../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,