MIMWAL installation and troubleshooting
Credits
This issue was initially reported by Guy Horn on his blog, republished on explicit request with permission to share on Wiki.
See also
Links from https://aka.ms/MIMWall
- MIMWAL Site - http://aka.ms/MIMWAL
- MIMWAL Releases - http://aka.ms/MIMWAL/Releases
- MIMWAL Documentation Wiki - http://aka.ms/MIMWAL/Wiki
- MIMWAL FAQ - http://aka.ms/MIMWAL/FAQ
- MIMWAL GitHub Code Repo - http://aka.ms/MIMWAL/Repo
- MIMWAL TechNet Q&A Forum - http://aka.ms/MIMWAL/Forum
Introduction
MIMWAL is a great piece of software. While installing it I encountered some imperfections. So let’s make things better.
Installation
First of all the installation script ‘register.ps1’ is only suitable if your server has two roles installed:
- Portal and
- FIMService.
As Microsoft itself advises not to do that in s large environment that’s obviously not the way to go.
If you try you will get in both servers annoying errors that can be ignored. But you probably don’t like the scream bleeding red. So why not adjust the installation script.
Scripts
Actually, there are two scripts that can be run separately error-free.
Download
You can find the modified scripts here.
Then you might also have some problems with the dll’s. The solution is worth documenting it, see below.
The error
PS C:\SolutionOutput> .\Register.ps1 -PortalSiteName “MIM Portal” DEBUG: Registering assembly in GAC: ‘C:\SolutionOutput\MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.dll’ DEBUG: Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.21022.8 Copyright (c) Microsoft Corporation. All rights reserved.
Failure adding assembly to the cache: Strong name signature could not be verified. Was the assembly built delay-signed?
Error Registering assembly in GAC: ‘C:\SolutionOutput\MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.dll’ At C:\SolutionOutput\Register.ps1:76 char:13 + throw (“Error Registering assembly in GAC: ‘$assemblyName … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (Error Registeri…tyLibrary.dll’ :String) [], RuntimeException + FullyQualifiedErrorId : Error Registering assembly in GAC: ‘C:\SolutionOutput\MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.dll’ |
The solution
Place the files somewhere. E.G. in C:\SolutionOutput.
Set-Location C:\SolutionOutput $dlls = Get-ChildItem -Filter ‘*dll’ $dlls . name foreach ($item in $dlls) { .\SN -Vr $item.name } Set-Location .\dlls $dlls = Get-ChildItem -Filter ‘*dll’ $dlls . name foreach ($item in $dlls) { .\SN -Vr $item.name