microsoftgraph / msgraph-sdk-dotnet

Microsoft Graph Client Library for .NET!
https://graph.microsoft.com
Other
695 stars 246 forks source link

ReferenceCreate is not part of deviceManagement/managedDevices/{managedDevice-id}/deviceCategory #2503

Open dansmitt opened 4 months ago

dansmitt commented 4 months ago

Describe the bug

We want to set the DeviceCategory of a ManagedDevice. So Intune already calls this endpoint: https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/{managedDevice-id}/deviceCategory/$ref

Ref is not part of in the SDK so far.

Expected behavior

Ref is part for the deviceManagement/managedDevices/{managedDevice-id}/deviceCategory endpoint in the SDK like deviceManagement/managedDevices/{managedDevice-id}/deviceCategory/$ref

How to reproduce

Just try to use the ref attribute in the SDK for the call

SDK Version

5,x

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

No response

Configuration

No response

Other information

No response

andrueastman commented 4 months ago

Thanks for raising this @dansmitt

We'll close this once https://github.com/microsoftgraph/msgraph-metadata/issues/633 is resolved as this looks to be caused by a missing path in the input metadata.