msgraph-sdk-dotnet icon indicating copy to clipboard operation
msgraph-sdk-dotnet copied to clipboard

Setting resourceBehaviorOptions is not possible using the client library

Open lukasz-avanade opened this issue 2 years ago • 6 comments

According to documentation Group.resourceBehaviorOptions is no longer only in the Beta graph, but it still only available in the beta SDK library.

https://docs.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0 https://docs.microsoft.com/en-us/graph/group-set-options https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/src/Microsoft.Graph/Generated/model/Group.cs

However resourceBehaviorOptions is only available in beta metadata https://graph.microsoft.com/beta/$metadata and not on https://graph.microsoft.com/v1.0/$metadata

What is the official state of the resourceBehaviorOptions? Is it still in beta? Is the documentation correct?

lukasz-avanade avatar Apr 04 '22 07:04 lukasz-avanade

Hey @lukasz-avanade,

Thanks for raising this. As you have correctly observed, the metadata for v1 is missing the property while the documentation suggests otherwise. As the SDK is generated from the metadata, we would first need to fix the metadata if that's where the issue lies.

We will be following this up and update on whether it's a doc or metadata issue.

andrueastman avatar Apr 04 '22 08:04 andrueastman

We've received confirmation that this is a metadata issue and the docs are saying the right thing. This has been raised with the API team and they will be working towards fixing this.

andrueastman avatar Apr 05 '22 09:04 andrueastman

Any update or ETA?

lukasz-avanade avatar Jun 30 '22 06:06 lukasz-avanade

Any update or ETA?

lukasz-avanade avatar Aug 18 '22 08:08 lukasz-avanade

Will this been fixed soon? It's already over a year ago. We need this.

habex-ch avatar Dec 14 '23 10:12 habex-ch

This issue is still dependent on https://github.com/microsoftgraph/msgraph-metadata/issues/195 and still awaiting the action of the relevant API teams to fix the metadata.

Please open up a support ticket on your production tenant to help prioritize this. The more tickets with the bigger tenants they get, the more likely they are to prioritize this.

andrueastman avatar Apr 25 '24 15:04 andrueastman