We have a production and an integration enviroment of MIM where we use lithnet. We installed a second integration enviroment. On this new server we have Powershell 5 and Powershell 7 installed. When MIM wants to create a provisioning job, we receive following error in the request:
Error Invoking PowerShell script. Error: 'Get-Resource : Failure Message: Failure Source: IdentityIsNotFound Details: The requestor's identity was not found. Correlation ID At line:11 char:16 + ... $obj = Get-Resource -ID 'removed ID for this issue' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-Resource], UnwillingToPerformException + FullyQualifiedErrorId : Lithnet.ResourceManagement.Client.UnwillingToPerformException,Lithne t.ResourceManagement.Automation.GetResource '
Is MIM on this server using pwsh.exe as standart instead of powershell.exe? Is there a way we can change that?
Hi,
We have a production and an integration enviroment of MIM where we use lithnet. We installed a second integration enviroment. On this new server we have Powershell 5 and Powershell 7 installed. When MIM wants to create a provisioning job, we receive following error in the request:
Error Invoking PowerShell script. Error: 'Get-Resource : Failure Message: Failure Source: IdentityIsNotFound Details: The requestor's identity was not found. Correlation ID At line:11 char:16 + ... $obj = Get-Resource -ID 'removed ID for this issue' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-Resource], UnwillingToPerformException + FullyQualifiedErrorId : Lithnet.ResourceManagement.Client.UnwillingToPerformException,Lithne t.ResourceManagement.Automation.GetResource '
Is MIM on this server using pwsh.exe as standart instead of powershell.exe? Is there a way we can change that?
Thanks