Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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 🙂

  • Community Power Platform Member Profile Picture
    on at
    Re: Register Dynamics Plug-in to make event on outlook in C#

    I'll go this way, ty for your advise 🙂

  • Verified answer
    cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Register Dynamics Plug-in to make event on outlook in C#

    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
    Re: Register Dynamics Plug-in to make event on outlook in C#

    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 ?

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Register Dynamics Plug-in to make event on outlook in C#

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard