Hi @Aginash Mannarath ,
Welcome to the Microsoft Q&A platform!
Based on your description, you are experiencing an issue where restrictions are being applied inconsistently between users in different OUs. There are a few steps you can take to troubleshoot and resolve this issue:
- Make sure that restrictions are set correctly for the distribution group. You can check the current settings using:
Get-DistributionGroup -Identity "group-A" | Select-Object -ExpandProperty AcceptMessagesOnlyFrom
- Confirm that users in both OUs have the correct properties and permissions. Sometimes, differences in user properties can cause problems.
- When adding users to the restrictions list, make sure that all existing and new users are included. For example:
$group = Get-DistributionGroup "group-A"
$currentUsers = $group.AcceptMessagesOnlyFrom
$newUsers = @("user-A", "user-B")
Set-DistributionGroup -Identity "group-A" -AcceptMessagesOnlyFrom ($currentUsers + $newUsers)
- If you are in a multi-domain environment, there may be replication delays. Make sure the changes have been propagated to all domain controllers.
- Sometimes, organizational unit policies can override or conflict with distribution group settings. Verify that there are no conflicting policies.
If these steps do not resolve the issue, you may need to review detailed logs or consult your Exchange administrator to ensure that there are no underlying issues with directory synchronization or permissions.
Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.
Best,
Jake Zhang