How to download group report in MIM system. Using powershell command or is there other way to download the data.

2024-02-01T08:46:09.1066667+00:00

Hello all, How to download group report. Including Displayed Owner, Owner, alias, Account Name, Display Name, Members. Is there powershell script? Thank you.

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Identity Manager
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2024-02-01T16:06:33.64+00:00

    I found this: https://github.com/lithnet/resourcemanagement-powershell

    I think you might also be able to use this: https://docs.lithnet.io/mim-sync-service/

    I don't know how the two module differ from each other, but the second on does have a disclaimer you have to read before you can access the module.

    I don't have use, or have access to, MIM (or FIM), so take my suggestion as only a suggestion!

    0 comments No comments

  2. Sylvain Clb 946 Reputation points
    2024-02-22T14:24:02.5733333+00:00

    Hi Ganchimeg.Gant (Ганчимэг.Г),

    The first answer from Rich is the first step to go. The Lithnet module is the easiest way to extract data from MIM (https://github.com/lithnet/resourcemanagement-powershell)After you can do a little script, like this one:

    
    ipmo lithnetrma
    
    $Groups =  Search-Resources -Xpath "/Group" -ExpectedObjectClass Group
    
    $Groups | Select DisplayedOwner, Owner, MailNickname, AccountName, DisplayName, ComputedMember | Export-Csv "Report_groups.csv
    
    

    Remarks: ComputedMember will return the ObjectID of the member, if you want the display name of the referenced object, you will need to loop on the array and retrieve info from MIM.

    BR, Sylvain


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.