question

arifrhb avatar image
0 Votes"
arifrhb asked arifrhb answered

Email address auto change when process

Hello All expert sir,

We use Active Directory 2016 and and all use created previously and email server at Ubuntu. Then we create exchange 2016. AD dns name as ad_domain.com and our email domain as mail_domain.com,

My AD user as 000014@ad_domain.com and his email address is Name.14@mail_domain.com,

Problem is, when we change the database, upgrade or downgrade mailbox size, it automatically change as 000014@ad_domain.com.

Several times I change the email address as correct from AD User attribute and also ECP. but result is same I described.

How can I stop it to automatically change the email address.

office-exchange-server-administration
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Previous Problem solved... but recently I faced another problem.

I created a user as 002069@example.com on Active directory and also email address... after that as required, I change the email address arif.2069@example.com from AD.

But if I change the mailbox database or mailbox size, email address automatically change to previous 002069@example.com,

Is there any solution that email address automatically not change or what I have to do to resolve it.

0 Votes 0 ·

Hi,
Sorry for the late reply.

I created a user as 002069@example.com on Active directory and also email address... after that as required, I change the email address arif.2069@example.com from AD.
Did you mean you created this user in Active Directory and enabled a mailbox for him via EAC/EMS?
Then you changed his email address to arif.2069@example.com via "Active Directory Users and Computers".
Later if you changes the mailbox database or mailbox size, the email address automatically changes back to 002069@example.com.

If I misunderstood something,please feel free to correct me.

0 Votes 0 ·

To my opinion, if you would like to change the email address format, you may need to use email address policies as mentioned in my former post.
Or you may add another email address to the mailbox and set it to be the primary email address.
87328-32.png
It does't need to be edited in Active Directory.

0 Votes 0 ·
32.png (21.0 KiB)
KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered KaelYao-MSFT edited

Hi, @arifrhb

Since this forum is public, I have covered the personal information for you in the question.
For security reasons, please don't forget to hide your personal information in your post.


According to your description, you should have added the mail domain as an accepted domain.
And you may use Email address policies to set the primary SMTP email address for users.

Follow these steps:
1.access EAC>mail flow>email address policies
2.create a new email address policy, select the mail domain when selecting an accepted domain (you may also modify the email address format)
3.apply the new email address policy

After that, you may see the email address is set as the primary SMTP email address for users.
Please have a check if the problem persists.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

arifrhb avatar image
0 Votes"
arifrhb answered

Thanks to all for help me. At last I find a way to disable auto update email address.


User / Email wise:
Get-Mailbox -Identity "arif@example.com" | ft Name, EmailAddressPolicyEnabled
Get-Mailbox -Identity "arif@example.com" | Set-Mailbox -EmailAddressPolicyEnabled $False

OU wise query and set policy:

Get-Mailbox -OrganizationalUnit "example.com/ADC" | ft Name, EmailAddressPolicyEnabled
Get-Mailbox -OrganizationalUnit "example.com/ADC" | Where-Object {$.EmailAddressPolicyEnabled -eq $True} | ft Name, EmailAddressPolicyEnabled
Get-Mailbox -OrganizationalUnit "example.com/ADC" | Where-Object {$
.EmailAddressPolicyEnabled -eq $True} | Set-Mailbox -EmailAddressPolicyEnabled $False


Query for domain all user True / False

Get-Mailbox -ResultSize Unlimited | Where-Object {$.EmailAddressPolicyEnabled -eq $False} | ft Name, EmailaddressPolicyEnabled
Get-Mailbox -ResultSize Unlimited | Where-Object {$
.EmailAddressPolicyEnabled -eq $True} | Set-Mailbox -EmailAddressPolicyEnabled $False

I think it will helpful for all.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.