Skip to content

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

@kartiksubbarao

Description

@kartiksubbarao

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions