I have a distribution list and shared mailbox catalog that we need to automate.

AhmerFaraz0001
Tera Contributor

I have a distribution list and shared mailbox catalog that we need to automate. So that user is automatically added to the Distribution list and shared mailbox after requesting access from ServiceNow.

1 ACCEPTED SOLUTION

Tanushree Maiti
Mega Patron

Hi @AhmerFaraz0001 ,

 

It is feasible only by executing powershell script from Servicenow end.

 

PowerShell
 
Add-DistributionGroupMember -Identity "Staff" -Member "JohnEvans@contoso.com"

This example adds John Evans to the distribution group named Staff.

 

Refer: https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/add-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:

View solution in original post

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @AhmerFaraz0001 

 

I doubt what you’re looking for is possible. If adding users to a distribution list (DL), are you maintaining the DL in ServiceNow? If yes, then it may be possible via Flow Designer. If not, then there’s no direct way to achieve this. Have a look here.

 

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

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Tanushree Maiti
Mega Patron

Hi @AhmerFaraz0001 ,

 

It is feasible only by executing powershell script from Servicenow end.

 

PowerShell
 
Add-DistributionGroupMember -Identity "Staff" -Member "JohnEvans@contoso.com"

This example adds John Evans to the distribution group named Staff.

 

Refer: https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/add-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: