Creating a Team always returns an empty Team : Cannot get the ID of the created Team. #2238
Labels
status:waiting-for-author-feedback
Issue that we've responded but needs author feedback to close
type:question
An issue that's a question
Describe the bug
Hello,
I'm using com.microsoft.graph:microsoft-graph:6.21.0 right now.
I'm trying to create a new team and then to get the ID, and the Operation ID of the result.
Team result = getGraphClient().teams().post(team);
The returned Team is always null as the JSON returned by the API is always empty. It seems that those informations are returned in the response header but I cannot access to it as the response is just a Team object.
In v5, it was returned in the object.
How am I supposed to retrieve the ID and the Operation ID of a newly created Team ?
Expected behavior
I expected that the returned Team object will contain the ID and the Operation as it was the case in the v5 of this library.
How to reproduce
Create a team with the code :
Team result = getGraphClient().teams().post(team);
The result will always be a null object.
SDK Version
6.21.0
Latest version known to work for scenario above?
5.x
Known Workarounds
None
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: