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

Proton Sheets : une nouvelle alternative à Excel Online et Google Sheets

Proton Sheets : Une Nouvelle Alternative à Excel Online et Google Sheets Introduction Proton Sheets,…

9 heures ago

Azure Bastion : connexion RDP avec Entra ID depuis le portail Azure (Preview)

Azure Bastion : authentification Entra ID en preview pour les connexions RDP via le portail…

1 jour ago

Plex met fin à la gratuité : Ce que cela signifie pour les utilisateurs

Plex met fin à la gratuité : Ce que cela signifie pour les utilisateurs Introduction…

1 jour ago

Automatiser la création de comptes Microsoft 365 avec GitHub Actions

Automatiser la création de comptes Microsoft 365 avec GitHub Actions Introduction GitHub Actions permet d'automatiser…

2 jours ago

Telegram Cocoon : une nouvelle ère pour la sécurité des communications

Telegram Cocoon : une nouvelle ère pour la sécurité des communications Introduction Telegram Cocoon, une…

2 jours ago

Netflix s’offre Warner Bros pour 82,7 milliards de dollars : Un tournant majeur pour le streaming

Netflix s'offre Warner Bros pour 82,7 milliards de dollars : Un tournant majeur pour le…

4 jours ago