Issue with AI Foundry Agent + Logic App Integration and SharePoint Tool #1410
Unanswered
DineshBendre
asked this question in
Help Needed
Replies: 1 comment
-
@DineshBendre are you using Agent Service connector to invoke the agent ? Are you trying to invoke your agent in Foundry from Logic Apps ? Whats your usecase - can you help me understand |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m working on a project using Azure AI Foundry and have successfully created an agent that uses SharePoint Knowledge as a tool. When I test this agent via the Agent Playground, it runs perfectly and returns expected results from SharePoint.
However, when I invoke the same agent through a Logic App trigger, using the following steps:
Create Thread
Create Run
Delay (1 min)
Get Run
List Messages
…the agent fails to interact with the SharePoint tool, and I receive the following error:
JSON
{
"code": "tool_server_error",
"message": "Error: sharepoint_tool_server_error; Bad Request"
}
The SharePoint tool and knowledge base are properly configured and accessible when run via the Playground.
But in Logic App integration, it breaks at run creation or tool invocation.
What I’ve Tried:
Verified that the SharePoint tool is included in the tool list in the Create Run action.
Ensured that permissions (Sites.Selected, Graph API) are assigned properly to the Logic App's Managed Identity.
Double-checked the site and file permissions are granted to the Logic App at the SharePoint level.
Questions:
Is there any additional configuration required for AI Foundry agents/tools when invoked via Logic Apps?
Is the SharePoint tool supported through Logic App execution contexts?
Could this be a permission scoping issue or a known limitation?
Any help from the product team or community would be appreciated!
#136 #1067 #azure-ai-foundry #logic-apps #sharepoint #trigger
Beta Was this translation helpful? Give feedback.
All reactions