msgraph-sdk-dotnet
msgraph-sdk-dotnet copied to clipboard
Microsoft Graph Client Library for .NET!
I am updating my app to use Microsoft.Graph v5.44.0. Apparently it doesn't seem to be possible to create an empty file on OneDrive. In v3.21.0 this works successfully as follows...
We want to set the primary user of a `ManagedDevice`. So Intune already calls this endpoint: `(https://graph.microsoft.com/beta/deviceManagement/managedDevices('deviceId')/users/$ref` Ref is not part of in the SDK so far.
**Describe the bug** Properties are marked as nullable which should never be `null`. **To Reproduce** Consider the following method and assume I have `enable` set in my .csproj file: ```csharp...
Hello, I am migrating Microsoft.Graph version `4.25` to `5.44` One of the challenges that I am facing is with `DriveItem` track changes functionality According to the documentation [here](https://learn.microsoft.com/en-us/graph/api/driveitem-delta?view=graph-rest-1.0&tabs=csharp) `GET /sites/{siteId}/drive/root/delta`...
V5 of the Azure Graph API has removed the IGraphServiceClient and has methods that are not virtual. This makes mocking calls to the Graph API client extremely difficult as you...
![image](https://github.com/microsoftgraph/msgraph-sdk-dotnet/assets/4305331/0737ac61-ac52-47a2-afee-6320ea16dd7c) ``` public async Task GetItems(string siteName, string listName) { var site1 = (await GraphClient.Sites[siteName].GetAsync()); var list2 = await GraphClient.Sites[site1.Id].Lists.GetAsync(); var items2 = (await GraphClient.Sites[site1.Id] .Lists[listName].Items .GetAsync())?.Value; **var list1 =...
**Describe the Problem** In a ASP.NET 6 Core app, I was/am using the Graph Beta endpoint where the usageRights API is (only) available (it's been in beta for a long...
## Issue In my case I have tried to create a sharepoint folder, which I wanted to further modify by changing its content type to document set. I wanted to...
Whilst attempting to implement a custom "retry" policy for sending email, I encountered a misleading exception which I've just spent hours trying to diagnose. The mistake I made was using...
ADO pipelines need to move to the compliant 1ES templates. Similar to these PRs - https://github.com/microsoft/OpenApi.ApiManifest/pull/70 - https://github.com/microsoft/kiota/pull/4137 - https://github.com/microsoftgraph/microsoft-graph-devx-api/pull/1797 We should start with the abstractions lib and then replicate...