powershell cacher les groupes 365 dans GAL
Set
-UnifiedGroup
<
group
>
-HiddenFromAddressListsEnabled
$true
1
|
Set |
If you want a group to accept messages from more than one group (multiple groups), you can give the group names as comma separated values in the above command.
1
|
Set -UnifiedGroup < group > -AcceptMessagesOnlyFromSendersOrMembers < group >,<group2> |
Set-DistributionGroup "Group Name" -HiddenFromAddressListsEnabled:$true
ou via AD
SOLUTION
To resolve this problem, follow these steps:
- Set the msExchHideFromAddressLists attribute of the security group to True. To do this, follow these steps:
- Open Active Directory Users and Computers.
- Locate and then right-click the group object, click Properties, and then click the Attribute Editor tab.
- Locate the msExchHideFromAddressLists attribute, click Edit, and then change the value from <Not set> to True.
- Wait for directory synchronization to occur. Or, force directory synchronization.