Microsoft Exchange Integration – PowerShell vs REST API

sndevastik
Tera Contributor

Hi Community,

I’m currently working on a Microsoft Exchange integration, where I’m creating a custom action/spoke to remove calendar events. I had a few questions regarding the OOTB (out-of-the-box) approach:

 

  1. Why does the OOTB Exchange integration use PowerShell to connect with Exchange Server instead of calling the REST API directly?

  2. What is the role of the MID Server in this integration?

  3. Why do we need to install additional modules (e.g., Exchange Online Management module – EXO) on the MID Server for establishing the connection?

Any insights would be appreciated to help me better understand the design choices and technical requirements.

 

Thanks in advance!