Forum Discussion
Vince1959
Feb 10, 2023Copper Contributor
How to resolve Junk email validation error
I'm attempting to add an email address to all users mailboxes using Set-mailboxJunkEmailConfiguration. The command fails and returns an email address as the error (see below). I've dumped the thr...
Deleted
Feb 11, 2023Thank you for providing more information on your findings.
I reproduced in my environment and added a domain-like account on Outlook client but it was blocked on OWA. Screenshot below shows the behavior (outlook client on the left and OWA on the right).
I checked further on PowerShell and I was unable to add the domain account. However, I was able to remove the domain account entry. See screenshot below showing the powershell output.
Kindly provide the status of your test. Is it possible to check through one of the affected account and see if that is the case?
If I have answered your question, please mark your post as Solved
If you like my response, please give it a Like
Appreciate your Kudos! Proud to contribute!
Vince1959
Feb 13, 2023Copper Contributor
I've done some digging into the data and I think there are 3 issues that could be making this happen.
1. New users have accounts and mailboxes but the TrustedSendersAndDomains data element isn't created until the mailbox is opened for the first time.
2. Some of the users throwing errors have multiple domain entries in their TrustedSendersAndDomains. I think I can parse them into an object I can pass to test the remove process.
3. Some of the users have large lists. I found serval sites that said the limit is 1024 items.
Since the errors represent less than 1% of the users management has decided they can live with the errors and completing error correctio for this project has been moved to the back burner.
Thanks again for the help!
1. New users have accounts and mailboxes but the TrustedSendersAndDomains data element isn't created until the mailbox is opened for the first time.
2. Some of the users throwing errors have multiple domain entries in their TrustedSendersAndDomains. I think I can parse them into an object I can pass to test the remove process.
3. Some of the users have large lists. I found serval sites that said the limit is 1024 items.
Since the errors represent less than 1% of the users management has decided they can live with the errors and completing error correctio for this project has been moved to the back burner.
Thanks again for the help!