09/12/2022 12:13 PM
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:
Solved! Go to Solution.
09/12/2022 01:57 PM
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
09/15/2022 12:20 AM
@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
09/15/2022 05:58 AM
Thanks for the verification. I'll come back and share scrubbed scripts that you can add to your documentation.
10/13/2022 12:08 PM
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.
10/13/2022 12:42 PM
Thanks a lot @KenKoch, I wouldn't have caught that otherwise.