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
Originally posted by stefanboerner May 15, 2024
I'd like to modify the "Sponsors" list of a user as described here but it seems that GraphClient.Users[id].Sponsors.Ref is missing in the microsoft.graph 5.52.0 library. Will this be added in an upcoming version?
The text was updated successfully, but these errors were encountered:
This can possibly be worked around as below in the meantime
varrequestInformation=newRequestInformation{HttpMethod=Method.POST,URI=newUri("https://graph.microsoft.com/v1.0/users/d8ab5060-f636-4cff-ae97-d4687f5c83f3/sponsors/$ref")};varpropeties=newDictionary<string,UntypedNode>{{"@odata.id",newUntypedString("https://graph.microsoft.com/v1.0/users/{user-id}")}};varcontent=newUntypedObject(propeties);requestInformation.SetContentFromParsable(graphClient.RequestAdapter,"application/json",content);// send the requestawaitgraphClient.RequestAdapter.SendNoContentAsync(requestInformation,newDictionary<string,ParsableFactory<IParsable>>());
Discussed in #2493
Originally posted by stefanboerner May 15, 2024
I'd like to modify the "Sponsors" list of a user as described here but it seems that GraphClient.Users[id].Sponsors.Ref is missing in the microsoft.graph 5.52.0 library. Will this be added in an upcoming version?
The text was updated successfully, but these errors were encountered: