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 believe the issue here is that the serializer does not handle maps when present in the addtionalData. To do this, we would need to add a case in this function to handle maps so that the seriliazer does not write the key and nothing is written for its value.
Describe the bug
I am trying to update one of the extensionAttribute values within the additionalData of a device, but getting the following error:
java.lang.IllegalStateException: Dangling name: extensionAttributes
I'm following the example 2 from here - https://learn.microsoft.com/en-us/graph/api/device-update?view=graph-rest-1.0&tabs=java - although the example isn't fully complete for updating the extensionAttributes. There seems to be a model within the SDK to use for OnPremiseExtensionAttributes but not for extensionAttributes.
If I get additonalData using device.getAdditionalData() it contains the the list of the 15 extensionAttributes that can be used.
Expected behavior
Expect the extensionAttribute to update successfully, which works if updating via HTTP for example.
How to reproduce
SDK Version
6.16.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: