English

Get the list of Management Agent available in MIM and their execution history in PowerShell

Get the list of Management Agent available in MIM and their execution history in PowerShell

Microsoft Identity Management (MIM 2016) is the new name for Forefront Identity Manager (FIM).

It’s the Microsoft on-premises solution for identity and access management in companies. It will enable you to:

  • Synchronize identities between directories, databases, and applications,
  • Self-service password, group and certificate management,
  • Increase admin security with policies, privileged access and roles.

I’m currently working on this for a customer’s project, and I had to make some PowerShell scripts to automate and schedule the launch of the different Management Agents and I think you may be interested by the following commands (that help me a lot):

get-wmiobject -class "MIIS_ManagementAgent" -namespace "root\MicrosoftIdentityIntegrationServer" -computername $MIMComputer | where {$_.Type -eq 'Active Directory'}

The above command will give you the list of the different Management Agents that are currently available in your MIM setup. The where part is not mandatory depending on what you are trying to synchronize in MIM (if needed, you can remove it).

And the below command will give you all the history of Management Agents’ execution.

get-wmiobject -Class 'MIIS_RunHistory' -namespace “root\MicrosoftIdentityIntegrationServer”
Share
Published by
thibault

Recent Posts

Sauvegarder son NAS UGREEN vers Azure avec Rclone : guide en 3 étapes

Sauvegarder son NAS UGREEN vers Azure avec RCLONE Introduction Lorsque l’on possède un NAS, la…

2 semaines ago

Comment mettre en place un relay SMTP pour Azure avec Microsoft 365

Comment mettre en place un relay SMTP pour Azure avec Microsoft 365 Dans l'informatique, nous…

2 semaines ago

Free Mobile : Une Innovation avec l’Intégration d’un VPN Gratuit dans ses Forfaits

Free Mobile : Une Innovation avec l'Intégration d'un VPN Gratuit dans ses Forfaits Introduction Free…

3 semaines ago

Proton suspend des comptes de journalistes : 3 raisons qui soulèvent des inquiétudes

Proton suspend des comptes de journalistes : 3 raisons qui soulèvent des inquiétudes Introduction Proton…

3 semaines ago

Synology ou UGREEN : quel NAS choisir en 2025 ?

NAS UGREEN DXP2800 2 baies Pendant plus de dix ans, j’ai été un utilisateur fidèle…

3 semaines ago

Authentification multi facteur obligatoire sur Azure : Phase 2 dès octobre 2025

Authentification multi facteur obligatoire sur Azure : Phase 2 dès octobre 2025 Introduction L'authentification multi…

4 semaines ago