msgraph-beta-sdk-python
msgraph-beta-sdk-python copied to clipboard
API regression: BadRequest error on /beta/copilot aiInsights endpoint after 2025/09/22
Problem
The following API endpoint stopped working as expected after 2025/09/22:
https://graph.microsoft.com/beta/copilot/users/:user_id/onlineMeetings/:meeting_id/aiInsights
After 2025/09/22, requests now return:
{
"error": {
"code": "BadRequest",
"message": "Value cannot be null. (Parameter 's')",
"innerError": {
"date": "2025-09-25T02:21:05",
"request-id": "8e2a3b90-24ac-4a05-ad77-50d3ade65aba",
"client-request-id": "8e2a3b90-24ac-4a05-ad77-50d3ade65aba"
}
}
}
# My code snippet:
graph_client = get_graph_client_beta(auth_code)
me = await graph_client.me().get()
user_id = me.id
graph_client.request_adapter.base_url = "https://graph.microsoft.com/beta/copilot"
query_params = AiInsightsRequestBuilder.AiInsightsRequestBuilderGetQueryParameters(
filter=f"contentCorrelationId eq '{correlation_id}'"
)
request_configuration = RequestConfiguration(query_parameters=query_params)
result = await graph_client.users.by_user_id(user_id).online_meetings. \
by_online_meeting_id(meeting_id) \
.ai_insights. \
get(request_configuration=request_configuration)
Impact
- This appears to be an API issue rather than an SDK bug, but it directly affects SDK behavior.
- The same code worked until 2025/09/22, so this looks like a regression in the API backend.
Request
- If this is an expected change, please update the documentation and communicate any required migration steps for SDK usage.