Hi All - I am creating a distribution group using ADSI directly in Active Directory and I am not using powershell cmdlet 'New-DistributionGroup'.
I am populating all the required properties when creating. When i execute 'Get-DistributionGroup' cmdlet, I can see the new one I just created. But it is not shown in OWA/Outlook.
I compared a distribution group created using ADSI against the one created using PowerShell cmdlet 'New-DistributionGroup' - the only difference I see is w.r.t property 'AddressListMembership'.
Distribution Group created using ADSI has not value (it is empty) but the group created using powershell has some value. They look like below
My questions are:-
- How value for 'AddressListMembership' added automatically when created using powershell?
- How do I provide value to this while creating using ADSI ?
- Should I provide value to this using corresponding AD attribute 'showInAddressBook' ?
Please help - Thanks!