IBM Security Verify

 View Only
Expand all | Collapse all

Creating Mail Group using SDI on Active Directory

  • 1.  Creating Mail Group using SDI on Active Directory

    Posted Tue April 26, 2022 04:33 AM
    Hello,

    I can create Security Group or Distribution List Group on Active Directory using SDI but I couldn't create mail group on Active Directroy using SDI.
    For Mail group, I have to use powershell commands, I have powershell sample for mail group creating but I couldn't convert to SDI anyway.
    Which connector should I use? How can convert following powershell commands to java? Or is there another way to create mail group from SDI?

    Following powershell commands are working from powershell CLI;
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://exch.bank.local/PowerShell/ -Authentication Kerberos -Credential $UserCredential
    Import-PSSession $Session –DisableNameChecking
    New-DistributionGroup -Name "GrupName" -Type "Security"

    Regards,

    ------------------------------
    Selim BEKTAS
    ------------------------------


  • 2.  RE: Creating Mail Group using SDI on Active Directory

    Posted Tue April 26, 2022 05:26 AM
    There is no native SDI connector for Powershell - you can of course write you own (just joking - that is probably only a few that knows how).
    Basically what I would do is to use the Remote Command connector and run the necessary powershell commands and then check the results coming back in your assembly line.

    That said - the powershell object model is very similar to the SDI entry/attribute model and you may want to convert from/to either model - but again it depends on your need and abilities....

    Just to clarify - the reason you have to use powershell here is that Exchange requires you to use their management commands (here in powershell) and does not allow you to do this as native AD changes...

    HTH

    ------------------------------
    Franz Wolfhagen
    IAM Technical Architect for Europe - Certified Consulting IT Specialist
    IBM Security Expert Labs
    ------------------------------