Relative Content

Tag Archive for c#microsoft-graph-api

Send email with large attachments

My project using Microsoft.Graph 5.15 version send an email with large attachment. I searched the web and find the below code. However there are some issues:

How we can read last x days teams calls Data using API

I have application which read teams calls reacords using “callrecords” graphAPI. As all this happen realtime, when i stop my application for sometime calls data get loss. So, i want to read last x days teams calls.

How to get permission to Microsoft graph API dynamically?

I have written a basic C# program for testing out Microsoft graph API , but for this i configured permission for the API calls from the Azure portal , is there any better way to do this ? any Dynamic way to configure API permissions depending the API calls i add to the code rather than manually configuring them in azure portal.

C# Microsoft Graph – allMaillFolders might be NULL?

For some reason C# thinks this value might be null. Even with an IF statement saying if it is NULL also says it might be NULL. Makes no sense, that’s why I have an IF statement. Example shows the code without the IF statement.