microsoftgraph / msgraph-sdk-serviceissues

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

Cloning team, visibility is not optional #1

Open A-Lynch opened 5 years ago

A-Lynch commented 5 years ago

The Microsoft documentation states that the visibility attribute is optional see Request Body

However the MSGraph SDK does not respect this and forces a visibility to be set, instead of taking the visibility of the original Team

MIchaelMainer commented 5 years ago

Documentation is not in agreement with the metadata. The metadata states that the visibility property is not nullable in the clone action.

  <Action Name="clone" IsBound="true">
    <Parameter Name="bindingParameter" Type="microsoft.graph.team" />
    <Parameter Name="displayName" Type="Edm.String" Unicode="false" />
    <Parameter Name="description" Type="Edm.String" Unicode="false" />
    <Parameter Name="mailNickname" Type="Edm.String" Unicode="false" />
    <Parameter Name="classification" Type="Edm.String" Unicode="false" />
    <Parameter Name="visibility" Type="microsoft.graph.teamVisibilityType" Nullable="false" />
    <Parameter Name="partsToClone" Type="microsoft.graph.clonableTeamParts" Nullable="false" />
  </Action>
darrelmiller commented 5 years ago

/cc @nkramer

A-Lynch commented 4 years ago

Hi, Is there a fix for this yet?

A-Lynch commented 4 years ago

This has been open since Sept, is there any fix?

petrhollayms commented 5 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.