skip to Main Content

List users not inheriting email address policy

After creating and applying an address policy in Exchange Server, the SMTP address is not added to all the users. Why is that happening? After investigating, it became clear. That’s because the following setting is unchecked at the mailbox: Automatically update email addresses based on the email address policy applied to this recipient. In this article, you will learn how to list users not inheriting the email address policy.

Not inheriting email address policy in Exchange Admin Center

The domain that we did add in the accepted domain and pushed it through email address policies is named contoso.com. Let’s see why the user is not receiving an email on that email address with the domain contoso.com.

Log in to Exchange Admin Center (EAC). Click recipients in the feature pane and follow with mailboxes in the tabs. Double-click the user that is reporting the problem.

List users not inheriting default email address policy EAC

Click email address in the left panel. Here you can check the email addresses type:

  • Primary SMTP with uppercase letters is the primary SMTP address.
  • Secondary smtp with the lowercase letters is the secondary email address, also known as an alias.

The setting that we are looking for is showing down below: Automatically update email addresses based on the email address policy applied to this recipient.

List users not inheriting default email address policy option

The domain contoso.com (amanda.morgan@contoso.com) is not showing because the setting is unchecked at the mailbox. Now we can enable that setting, but how can we list all the users not inheriting the email address policy? PowerShell is the answer.

The next time you add an SMTP address to the mailboxes in Exchange Server, verify if it’s applied to all the mailboxes. Read the article find missing SMTP address with PowerShell.

List users not inheriting email address policy with PowerShell

Run Exchange Management Shell as administrator. Run the cmdlet to list users not inheriting email address policy.

Export results to CSV file

Create a temp folder in the C: drive and run the cmdlet. It will create a CSV file named NotInheriting.csv.

Go to the path C:\temp and open the exported CSV file NotInheriting.csv. I opened it with Notepad for a quick check. I recommend opening the file with a CSV editor. For example, Microsoft Excel.

List users not inheriting default email address policy export to CSV file

Now that you have the mailboxes of the users that are not inheriting email address policy, what’s next?

To make sure that the email address is added to the users, there are three options:

  1. Enable automatically update email address setting in Exchange Admin Center
  2. Enable automatically update email address setting with PowerShell
  3. Add the missing secondary SMTP address with PowerShell

Conclusion

In this article, you learned how to list users not inheriting email address policy. Make use of the Exchange Management Shell to list the mailboxes that are not inheriting the email address policy. After that, export the results to CSV file.

Did you enjoy this article? If so, you may like Get mailbox permissions with PowerShell. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect and IT Consultant. His specialism is designing and building complex enterprise environments. He started Information Technology at a very young age, and his goal is to teach and inspire others. Connect with ALI TAJRAN on social media. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top