Hello everybody,
I'm trying to build a plug-in that retrieve a table, select some rows and make an outlook event with the name of the rows. I already know hot to register a plug-ins and make some basic action but i can't find some outlook libraries to interact with.
https://docs.microsoft.com/en-us/graph/api/calendar-post-events?view=graph-rest-1.0&tabs=csharp
This is the only document that seems useful but is not clear if i can write this code in a plug-in.
Even a reference to the right documentation will be appreciated.
Thanks in advance 🙂
I'll go this way, ty for your advise 🙂
Yes, you can absolutely do that. I would recommend that if you do, you also use KeyVault paired environment variables to store the App Reg Secret (and user credentials if you are calling as Delegate) that way you don't need to hardcode the credentials and you don't need to use the "secure" config (which is not secure).
The flow way is obviously the best way but my PM want to see that into a plug-in. Use ILMerge is a possible good solution but now I'm thinking about using Graph with an app registration. What do you think about it ? could be a easier ? can i do that ?
Probably MUCH easier to do this in a Power Automate Flow. It has Outlook connectors pre-built for you so you could set out this logic without any code, very quickly.
If you really can't use a Flow for some reason, then yes you can bring in a dependent assembly into your through ILMerge, but it is unsupported. In Wave 1 2022, though, MSFT is releasing Dependent Assemblies as a feature that would let you register your Outlook library separately from your plugin so you can reference it during runtime.
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72