Enable and configure PowerShell script in Active Directory
Configure the Okta Active Directory agent to securely run a custom PowerShell script in your on-premises environment. Use this feature to execute custom lifecycle management (LCM) functionalities through PowerShell.
Before you begin
- You've installed Okta AD agent version 3.23.0 or later.
- A PowerShell script (
.ps1) resides at an absolute file path on the AD server. - The script is signed on the device using a private key.
- You have the corresponding public key or certificate. Okta accepts PEM-encoded RSA public keys, PEM-encoded public keys, and X.509 certificates (
.crtor.cer).
Procedure
The script is configured and ready for invocation through Okta Workflows using the Okta public API.