Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to add logic/script for extracting DL Group Members in flow designer

VenkataRajB
Tera Contributor

we have already have logic for create/modify/delete in place

2 REPLIES 2

Tanushree Maiti
Tera Sage

Hi @VenkataRajB 

 

As Microsoft Exchange does not have its own API, from flow you can trigger Powershell script 

 

PowerShell
 
Get-DistributionGroupMember -Identity "Marketing USA"

This example returns the existing distribution group members for the distribution group named Marketing USA.

 

Refer following posts:

https://www.servicenow.com/community/developer-forum/is-there-a-oob-solution-for-add-remove-user-to-....

 

 https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/get-distributiongroupmember?v...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

the above issue got fixed. need one more thing How to send attachments in the notification in flow desginer