Exchange Online Distribution List Creation

Shilpa Wadhwani
Tera Contributor

Hello Community,

 

I'm trying to automate a  catalog item for creating a new distribution list in Microsoft Exchange Online using the flow designer. We have Integration Hub subscription and I tried using the Exchange Online spoke, however it does not provide any OOTB action for the same. If someone has implemented this, could you please share the steps / Powershell script here.

 

Thank you.

3 REPLIES 3

palanikumar
Giga Sage

Hi @Shilpa Wadhwani ,

There is no Out of box option available for Distribution List. I assume the ServiceNow spokes are based on Rest API, and unfortunately Microsoft don't have Rest API for Distribution List, however it has APIs for other products - user mailbox, group etc.

The only option I found it PowerShell script. You need to execute PowerShell script using the Power Shell script action. You can consult with your Exchange team as each organization manage it differently 

Hi @palanikumar ,

 

Thank you for responding. Could you please share sample PS script here?

 

Thanks & Regards,
Shilpa

You can refer the below Microsoft URL:

https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/new-distributiongroup?view=ex...

I have implemented similar requirement for multiple customers. Every customer have different pre-requisite. So, consult with your Exchange team to understand your environment and build your script