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,