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

Announcements

Community site session details

Community site session details

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 279 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 229 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard