© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
MOVED

❔ Microsoft Graph SDK - Serializing objects

Hello,
I am currently working with Microsoft Graph API to work with the Planner. My goal is to backup tasks, buckets and such (all info necessary basically) so that it could be later imported in case things got deleted.
I figured that I'd backup the information in JSON format, so that it can be easily uploaded back in without much hassle.
However, I'm running into an issue;
var tasks = await graphClient.Groups["id"].Planner.Plans["id"].Tasks.GetAsync();
var tasks = await graphClient.Groups["id"].Planner.Plans["id"].Tasks.GetAsync();

I've noticed that
tasks
tasks
has a
.Serialize()
.Serialize()
method, however, I cannot figure out how to supply it with a
Microsoft.Kiota.Abstractions.SerializationWriter
Microsoft.Kiota.Abstractions.SerializationWriter
param. Any ideas?

The general idea is to serialize all of the tasks into JSON and then store it in a file.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Microsoft Graph API
C#CC# / help
4y ago
❔ Looking for a personal tutor for microsoft graph SDK
C#CC# / help
3y ago
❔ graph .net sdk email
C#CC# / help
3y ago