PowerShell scripts in Provisioning
Provisioning supports PowerShell in various scripts.
Source systems source import scripts:
Permission actions scripts
Target import scripts: Account data import script and Import permission memberships script
PowerShell v1 target systems (deprecated).
PowerShell version
PowerShell scripts on both PowerShell v2 source systems and target systems are executed by the Provisioning Agent.
The Cloud Provisioning Agent supports PowerShell 7 or later.
The On-premises Provisioning Agent service supports Windows PowerShell 5.1.
PowerShell modules
If a script requires a PowerShell module, it must be executed via the On-premises Provisioning Agent service. No PowerShell modules are pre-installed.
If a PowerShell v2 target system connector requires a specific PowerShell module to be installed, this is noted in the README file of the respective connector on GitHub.
Importing PowerShell modules when using the Cloud Provisioning Agent is not supported.
The Cloud Provisioning Agent includes the Exchange Online (ExO) Management module, version 3.5.1, with the following limited set of cmdlets, including one custom cmdlet.
Cmdlet | Description |
|---|---|
Connect-ManagedExchangeOnline | Connect to exchange online (custom cmdlet) |
Get-EXOMailbox | Retrieve mailbox |
New-Mailbox | Create mailbox |
Set-Mailbox | Update mailbox |
These cmdlets are used by Tools4ever's Exchange Online (Office 365) target system connector.
For the official documentation of the ExO module, see Exchange Online Module 3.5.1.