web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Register Dynamics Plug...
Power Apps
Unanswered

Register Dynamics Plug-in to make event on outlook in C#

(0) ShareShare
ReportReport
Posted on by

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 have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    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.

  • Community Power Platform Member Profile Picture
    on at

    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 ?

  • Verified answer
    cchannon Profile Picture
    4,702 Moderator on at

    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).

  • Community Power Platform Member Profile Picture
    on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard