Graph API Queries broken?

Roderick Lenz 1 Reputation point
2022-09-20T01:05:27.773+00:00

Hi,
We've come across an issue related to this where the Graph API query syntax appears to have broken, similar to:
https://learn.microsoft.com/en-us/answers/questions/1010052/expanding-listitem-when-uploading-a-driveitem.html

We were using PUT /drives/{drive-id}/items/{item-id}/content?$select=sharepointIds and have been for a few years now.

Suddenly this query returns no response unless we remove the $

At what point was the ?$query syntax changed and why?
We can find no reference to this change anywhere and the documentation shows:

Tip

On the beta endpoint, the $ prefix is optional. For example, instead of $filter, you can use filter. On the v1 endpoint, the $ prefix is optional for only a subset of APIs. For simplicity, always include $ if using the v1 endpoint.

https://learn.microsoft.com/en-us/graph/query-parameters

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,864 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shivam Dhiman 6,051 Reputation points
    2022-09-20T01:40:54.213+00:00

    Hi @Roderick Lenz

    I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.