How to change public folder default reply address in Office 365 (Couldn’t update the primary SMTP address)

By default a public folders’ email address in Office 365 gets the address as the reply address. It would be nicer to have the company’s default email address as reply address.

To adjust the PrimarySMTPAddress, run the Set-MailPublicFolder cmdlet with the PrmarySMTPAddress parameter

Set-MailPublicFolder -Identity -PrimarySmtpAddress

In my case however, I encountered this error:

WARNING: Couldn’t update the primary SMTP address because this mailbox is configured to use an email address policy. To disable the email address policy for this mailbox, run the command with the EmailAddressPolicyEnabled parameter set to $false.

set-mailpublicfolder Couldn't update the primary SMTP address

I firstly had to disable the EmailAddressPolicy. To do so, run

Set-MailPublicFolder -Identity -EmailAddressPolicyEnabled $False

After this, I could change the SMTP address:

Set-MailPublicFolder -Identity -PrimarySmtpAddress

You can also change the default SMTP address of a public folder using the Exchange Online GUI:

public folder make this the reply address

But note that the checkbox “Make this the reply address” is only available after you have set the EmailAddressPolicyEnabled to $false. For more information about the Set-MailpublicFolder can be found here




0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x