microsoftgraph / msgraph-sdk-serviceissues

Tracks service issues for follow up.
5 stars 0 forks source link

RevokeSignInSessions() response content does not match CSDL #9

Open MIchaelMainer opened 4 years ago

MIchaelMainer commented 4 years ago

This is broken in the generated client libraries.

CSDL says:

<Action Name="revokeSignInSessions" IsBound="true"
    xmlns="http://docs.oasis-open.org/odata/ns/edm">
    <Parameter Name="bindingParameter" Type="graph.user" Nullable="false" />
    <ReturnType Type="Edm.Boolean" />
</Action>

Expected response JSON is:

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Edm.Boolean",
    "value": true
}

Actual response JSON says:

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Edm.Null",
    "@odata.null": true
}

Reference https://github.com/microsoftgraph/msgraph-sdk-dotnet-core/pull/135

MIchaelMainer commented 4 years ago

The documentation doesn't match either the actual response or the CSDL:

https://docs.microsoft.com/en-us/graph/api/user-revokesigninsessions?view=graph-rest-1.0&tabs=http

Expect a 204 response per documentation.

petrhollayms commented 7 months ago

Thank you for reporting this issue. This appears to be an issue or limitation with the service APIs. Unfortunately, as the Microsoft Graph SDK team, we do not have ownership of the APIs that are causing you issues. We invite you to create a question about the service API to Microsoft Q&A and tagged with one of the [microsoft-graph-*] tags, that way it will get routed to the appropriate team for them to triage:

https://aka.ms/msgraphsupport or directly https://aka.ms/askgraph

For now, we will close the issue on our side but feel free to open it in the relevant repository if you think the issue is specific to SDK. Please let us know if this helps!

Note: We will close this repository on April 19, 2024.