We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Distribution Group Provisioning to Exchange Online

rayan-farooq
New Contributor II
New Contributor II

Hi there, 

We have a use-case to provision classic distribution groups to Exchange Online. Strangely, Microsoft does not have an API available to manage these. As a result, I'm writing a PowerShell script to provision and manage distribution groups from a Win-PS server through the Exchange PowerShell module.

My questions are:

  1. Is there a better approach?
  2. Has anyone met success doing this (or something similar) before?
  3. Does anyone perhaps have scripts already made I could recycle?
5 REPLIES 5

rushikeshvartak
All-Star
All-Star

You can refer example 6 for how to call powershell script in rest connector

https://saviynt.freshdesk.com/support/solutions/articles/43000521736-rest-connector-guide


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

sahajranajee
Saviynt Employee
Saviynt Employee

@rayan-farooq 

No, you are going by the correct approach. Distribution groups would need powershell to be invoked. While there will not be the exact powershell script available, you can refer on how to call Powershell scripts via REST on WinPS connector. 

It involves setup of Saviynt Powershell Agent on your customer's IIS server. 
See details : https://saviynt.freshdesk.com/support/solutions/articles/43000620367-win-ps-connector-guide


Regards,
Sahaj Ranajee
Sr. Product Specialist

rayan-farooq
New Contributor II
New Contributor II

Thanks for the verification. I'll come back and share scrubbed scripts that you can add to your documentation.

KenKoch
New Contributor II
New Contributor II

Hi @rayan-farooq , did you see they added distribution group management examples to their AzureAD connector documentation?

https://saviynt.freshdesk.com/support/solutions/articles/43000463699-azure-ad-connector-guide

Check the Add/Remove AccessJSON sections.

Thanks a lot @KenKoch, I wouldn't have caught that otherwise.