Skip to content

Getting error on execution of MIMWAL - RunPowershellScript : RunScript #119

@abhishekk604

Description

@abhishekk604

Hi,

I am getting postprocessing error during account creations in MIM. I am using WAL: Run Powershell Script in a MPR to execute a PS script for users to generate unique email address.
Before error started, I had run the change mode installation of Service and Portal and in there I just updated the client secret for mim mail configuration and updated the option 'grant authenticated users to access mimportal site'
But after that my powershell script WAL keeps on failing in postprocessing error with below detail:
WAL (2.19.0112.0) Exception in 'RunPowerShellScript: RunScript'. Details:

MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.Exceptions.WorkflowActivityLibraryException: Error Invoking PowerShell script. Error: 'The type initializer for 'Microsoft.ResourceManagement.WebServices.Client.Resource ManagementClient' threw an exception. --->
System.Management.Automation.CmdletInvocationException: The type initializer for "Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient threw an exception. --> System.TypeInitializationException: The type initializer for Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient' threw an exception. ---> System.InvalidOperationException: This operation is not supported for a relative URI.

MIM Version - 4.6.673
Do anyone knows what might have broken and how can it be fixed.

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