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

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

Open
abhishekk604 opened this issue Jul 27, 2024 · 0 comments
Open

Comments

@abhishekk604
Copy link

abhishekk604 commented Jul 27, 2024

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.

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