An API that connects multiple Microsoft services, enabling data access and automation across platforms
Graph API to Graph SDK migration
Hi ,
Could you please help us on the below .
We have started using Microsoft graph SDK and migrating all the existing graph API calls to use Microsoft Graph SDK and as part of that we need to update the below API to use Graph ASP.net SDK but not able compose the query . Request you to help us on this .
API Call :
string renewUrl = $"deviceAppManagement/mobileApps/{contentFileInfo.AppId}/{win32LobType}/contentVersions/{contentFileInfo.ContentVersionId}/files/{contentFileInfo.AzureFileId}/renewUpload";
using (await this.graphProxy.PostAsync(renewUrl, string.Empty)) { };
Graph SDK Call :
var response = graphClient.DeviceAppManagement.MobileApps[contentFileInfo.AppId]
.AppendSegmentToRequestUrl(win32LobType)
.Expand("contentVersions")