Solutions
ForgeRock Identity Platform
Does not apply to Identity Cloud

Empty path name is not legal error with the PowerShell connector in IDM (All versions)

Last updated Apr 8, 2021

The purpose of this article is to provide assistance if you get an "Empty path name is not legal" error with the PowerShell connector toolkit in IDM.


Symptoms

The following error is shown when using the PowerShell connector toolkit:

Empty path name is not legal

Recent Changes

Implemented the PowerShell connector toolkit.

Causes

The format of the script file names (for example, updateScriptFileName or searchScriptFileName) is incorrect in your provisioner configuration file (for example, provisioner.openicf-powershell.json), which is located in the /path/to/idm/conf directory.

Solution

This issue can be resolved by correcting the format of the script file names.

The script file names should contain the full path and name of the required script with double backslashes as the path delimiter, for example:

"updateScriptFileName" : "C:\\Scripts\\PowerShell\\UpdateScript.ps1",

See Also

Empty path name is not legal error with the Groovy connector in IDM (All versions)

Connectors Guide › PowerShell Connector Toolkit

Samples Guide › Connect to Active Directory With the PowerShell Connector

Related Training

N/A

Related Issue Tracker IDs

N/A


Copyright and Trademarks Copyright © 2021 ForgeRock, all rights reserved.