I am not saying this is a bad component or a bad approach, I am just curious why you decided/needed to make this into an extension? We're looking into sending emails through the Graph API as well, but I would prefer to use a regular REST API integration in a module.
Did you run into any (technical) limitations or issues that made you go with .NET? If so, I'd prefer to know those before I start attempting to do it in a module and coming to the same conclusion after 2 days of trial and error.
Hello
My approach here was because the existing C# library (Microsoft.Graph) makes authentication and the actions we want to perform easier than calling rest services.
Ok, that's clear and a valid reason off course. Thank you for sharing the info. After looking into the details of the API a bit more, I understand your reasoning. ;)