Skip to content

Commit ea370f8

Browse files
authored
sharepoint sample fix (microsoft#3108)
1 parent 24c8225 commit ea370f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

python/samples/getting_started/agents/azure_ai/azure_ai_with_sharepoint.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ async def main() -> None:
2828
tools={
2929
"type": "sharepoint_grounding_preview",
3030
"sharepoint_grounding_preview": {
31-
"project_connection_id": os.environ["SHAREPOINT_PROJECT_CONNECTION_ID"]
31+
"project_connections": [
32+
{
33+
"project_connection_id": os.environ["SHAREPOINT_PROJECT_CONNECTION_ID"],
34+
}
35+
]
3236
},
3337
},
3438
) as agent,

0 commit comments

Comments
 (0)