An API that connects multiple Microsoft services, enabling data access and automation across platforms
Dear @Ngoc Xuan,
Thank you for providing the request payload and error details.
Based on the error:
GetConnectionSettingAsyncFailed
No connection setting found for the requested connections
and
PreprocessingFailure: Invalid Connector provider Request
this does not appear to be a permissions issue in Graph Explorer. Instead, Microsoft Graph Search is unable to resolve the connection specified in:
"/external/connections/OnPremisesSharePoint2611180233"
I would recommend verifying the following:
- Confirm that the connector has completed indexing successfully and that the content is searchable through Microsoft Search or Microsoft Copilot.
- Verify that
OnPremisesSharePoint2611180233is the correct and active connection identifier exposed by the connector configuration. - Review the Agent Connector documentation to confirm whether the connector type you deployed supports querying content through:
POST /v1.0/search/queryusing:"entityTypes": ["externalItem"]
The error suggests that Graph Search cannot locate a valid external connection definition for the connection referenced in contentSources.
Since this question is specifically related to Microsoft Graph Search API behavior and connector supportability, I would also recommend posting the same question in the Microsoft Graph community/forum. The Graph-focused community and engineers are more likely to have experience with the interaction between Agent Connectors, Graph Connectors, and the /search/query endpoint.
I hope this information helps point you in the right direction.
Warm regards,
If the answer is helpful, please select "Yes, accept answer". If you have any questions or new updates, please feel free to comment below.