AnyIdentity PowerShell Script – Parameters not passed to script despite correct mapping
Hello everyone,
I'm currently working on integrating a password rotation script using AnyIdentity in Devolutions Server (DVLS) for Citrix ADC. I've created a custom AnyIdentity template with the following configuration:
✅ Provider Properties:
✅ Account Properties:
✅ Script Parameters:
Mapped in the template as:
target → Provider → targethost
user → Provider → user
password → Provider → password
account → Account → account
NewPassword → System (default)
My PowerShell script starts with:
param(
[string]$target,
[string]$user,
[securestring]$password,
[string]$account,
[securestring]$NewPassword
)
Write-Output "target = $target"
...
All fields are filled in the PAM entry, and the correct AnyIdentity provider is selected.
However, during execution, I get the following error:
❌ 'target' is missing.
(Or: ❌ 'targethost' is missing. if I switch parameter names)
I’ve tried:
No matter what I do – DVLS never passes the values into the script.
❗Question
Has anyone successfully used custom AnyIdentity password rotation with parameters passed from the provider?
DVLS version: 2025.1.7.0
PowerShell: 7.5.1
Script tested independently = working
Thanks in advance – hoping someone has found a solution or workaround!
Best regards,
Alexander
Hi Alexander,
There are examples of AnyIdentity templates available on our GitHub repository
https://github.com/Devolutions/PAM-Providers/tree/master/Providers/Azure%20Key%20Vault
I included a basic template I made based on the information you provided,
can you tell me if that is how your template is setup?
Regards,
David
David Savard
Test Alexander.json