Add mail ngoài domain vào group mail 365, chỉnh sửa group động

- Trên MS365 admin => Add Contact 

- Thêm Contact đó vào group

 

Chỉnh sửa group động: sử dụng Exchange Shell, mẫu:

Set-DynamicDistributionGroup "all@xxxx" -RecipientFilter "((RecipientType -eq 'UserMailbox') -or (PrimarySmtpAddress -eq 'nctt@xxxx')) -and (HomePhone -ne 'ExcludeFromGroupAll') -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'PublicFolderMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'AuditLogMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'AuxAuditLogMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'SupervisoryReviewPolicyMailbox'))" 

No comments:

Post a Comment

Reset cache Offline Files

REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v FormatDatabase /t REG_DWORD /d 1 /f Reboot PC  Chú ý: Mất toàn ...