Open A-Lynch opened 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>
/cc @nkramer
Hi, Is there a fix for this yet?
This has been open since Sept, is there any fix?
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.
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