You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to update the settings of a user. It was working fine up to now, but after the migration to 5.51.0 it crashes out with "AdditionalData can not be null".
Expected behavior
Users can be updated without the sdk crashing. Might relate to the user update endpoint not returning any body but just a 204.
Same here. Still works with v5.49.0. Here's my stacktrace:
System.AggregateException
One or more errors occurred. (AdditionalData can not be null) (Specified HTTP method is not allowed for the request target.)
Exception doesn't have a stacktrace
System.InvalidOperationException
AdditionalData can not be null
at Microsoft.Graph.Models.Entity.get_AdditionalData()
at Microsoft.Graph.Models.Entity.Serialize(ISerializationWriter writer)
at Microsoft.Graph.Models.DirectoryObject.Serialize(ISerializationWriter writer)
at Microsoft.Graph.Models.Group.Serialize(ISerializationWriter writer)
at Microsoft.Kiota.Serialization.Json.JsonSerializationWriter.WriteObjectValue[T](String key, T value, IParsable[] additionalValuesToMerge)
at Microsoft.Kiota.Abstractions.RequestInformation.SetContentFromParsable[T](IRequestAdapter requestAdapter, String contentType, T item)
at Microsoft.Graph.Groups.Item.GroupItemRequestBuilder.ToPatchRequestInformation(Group body, Action`1 requestConfiguration)
at Microsoft.Graph.Groups.Item.GroupItemRequestBuilder.PatchAsync(Group body, Action`1 requestConfiguration, CancellationToken cancellationToken)
Describe the bug
I am trying to update the settings of a user. It was working fine up to now, but after the migration to 5.51.0 it crashes out with "AdditionalData can not be null".
Expected behavior
Users can be updated without the sdk crashing. Might relate to the user update endpoint not returning any body but just a 204.
How to reproduce
Just try to update any user with version 5.51.0
SDK Version
5.51.0
Latest version known to work for scenario above?
5.47.0
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: