Microsoft Entra ID (Agent tool node) always returning empty results
Hey guys!
When I try to do anything with the Entra ID Agent node, like a simple Users Get, I always get an empty result, but, when I use the “linear” node, I get the expected results consistently.
Tests are executed with the same credential and same nodes configuration.
I’ve opened this bug report, but it was closed right away.
Any help is highly appreciated!
Linear Workflow (Works)
Output returned by the Microsoft Entra ID Node (expected)
[
{
"id": "11111111-1111-1111-1111-111111111111",
"createdDateTime": "2015-06-17T22:01:55Z",
"displayName": "User One",
"userPrincipalName": "[email protected]",
"mail": null,
"mailNickname": "user.one",
"securityIdentifier": "S-1-12-1-1000000000-1000000000-1000000000-1000000000"
},
...
{
"id": "22222222-2222-2222-2222-222222222222",
"createdDateTime": "2016-03-14T16:15:38Z",
"displayName": "User Last",
"userPrincipalName": "[email protected]",
"mail": null,
"mailNickname": "user.last",
"securityIdentifier": "S-1-12-1-2000000000-2000000000-2000000000-2000000000"
}
]
Agentic Workflow (Doesn’t work)
Output returned by the Microsoft Entra ID Agent Tool
[
{
}
]
To Reproduce
1 - Create a simple Agent
2 - Connect the model and memory nodes
3 - Setup an Entra ID credential with the proper permissions.
4 - Connect the Microsoft Entra ID tool ( Test any simple action)
5 - Make the agent use the tool.
6 - See what the tool is retrieving (Empty response)
Expected behavior
The the Microsoft Entra ID tool to return (and run) the requested.
System Information
- Operating System : Alpine 3.21.3 (N8N Docker distribution)
- n8n Version: 1.95.2
- Node.js Version: v20.19.2
- Database: PostgreSQL
- Execution mode: main (default)