Notifications
Announcements
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 🙂
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.
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 ?
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).
I'll go this way, ty for your advise 🙂
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268