Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Extension Script is not properly invoked unless certain other scripts are specified #23

Open
kartiksubbarao opened this issue Jul 6, 2018 · 0 comments

Comments

@kartiksubbarao
Copy link

If I configure a Password Extension Script while leaving Common Module Script, Begin Password Script and End Password Script empty, I get the following type of event log error when I change a password:

The password management extension encountered an error.
 The stack trace is:
 
 "Microsoft.MetadirectoryServices.ExtensionException: The script content is blank
   at Microsoft.IdentityManagement.Connector.PowerShell.Bridge.BridgeBase.GeneratePSContentScript(String fileContent, Boolean isCommonModuleScript, Boolean ignoreEmptyScript, Boolean isMADataFolder)
   at Microsoft.IdentityManagement.Connector.PowerShell.Bridge.PasswordBridge.ExecuteConnectionOperation(ScriptType scriptType, String scriptFileConfigKey)
   at Microsoft.IdentityManagement.Connector.PowerShell.Bridge.PasswordBridge.OpenPasswordConnection(String scriptFileConfigKey)
Forefront Identity Manager 4.4.1302.0"

If I specify $true in the text fields for Common Module Script, Begin Password Script and End Password Script, the errors go away and the password change runs fine. Would it be possible to update the connector code to allow empty values for these fields?

@kartiksubbarao kartiksubbarao changed the title Password Extension Script is not invoked unless certain other scripts are specified Password Extension Script is not properly invoked unless certain other scripts are specified Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant