SOLVED

How to change Alias name in Office 365

%3CLINGO-SUB%20id%3D%22lingo-sub-222465%22%20slang%3D%22en-US%22%3EHow%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222465%22%20slang%3D%22en-US%22%3E%3CP%3EI%20can't%20change%20alias%20name%20where%20appeared%20the%20message%26nbsp%3B%20%22%26nbsp%3B%3CSPAN%3Ethe%20object%20is%20being%20synchronized%20from%20your%20on-premises%20organization.%20This%20action%20should%20be%20performed%20on%20the%20object%20in%20your%20on-premises%20organization%20%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20help%20please%20.....%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-222465%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-225049%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-225049%22%20slang%3D%22en-US%22%3E%3CP%3EI%20agree%20with%20that.%20You%20should%20use%20only%20domains%2C%20that%20are%26nbsp%3Bconfigured%20correctly%20at%20O365%20admin%20portal.%20Also%20do%20not%20use%20*.onmicrosoft.com%2C%20there%20is%20problem%20with%20synchronizing%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FDeployment%2FIssues-with-adding-mydomain-onmicrosoft-com-proxyaddresses%2Fm-p%2F199482%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FDeployment%2FIssues-with-adding-mydomain-onmicrosoft-com-proxyaddresses%2Fm-p%2F199482%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224719%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224719%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20seems%20that%20your%20main%20SMTP%20address%20uses%20your%20real%20domain%20..gy.com%2C%20but%20for%20aliases%20you%20try%20to%20use%20microsoft.com.%20Just%20use%20your%20own%20main%20domain.%20I%20don't%20think%20you%20should%20use%20domain.onmicrosoft.com%20either%2C%20although%20this%20might%20work.%20But%20i%20think%20your%20real%20domain%20is%20what%20is%20desired%20to%20use%20in%20aliases.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224644%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224644%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI%20attached%20two%20files%20for%20attribute%20editor%20and%20proxy%20address%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224638%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224638%22%20slang%3D%22en-US%22%3E%3CP%3EHe%20is%20trying%20everything%20we%20throw%20at%20him.%3C%2FP%3E%3CP%3EWalid%2C%20do%20one%20screenshot%20of%20attribute%20editor%2C%20proxy%20addresses%20details%20window%20(with%20masked%20actual%20address).%20You%20can%20also%20do%20a%20screenshot%20of%20Office%20365%20admin%20center%20with%20that%20user's%20details%20opened.%20And%20i%20guess%20you%20can%20do%20screenshots%20of%20running%20powershell%20commands%20you've%20been%20suggested%20above.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20what%20happens%20if%20you%20email%20to%20alias%20address%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224599%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224599%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F170116%22%20target%3D%22_blank%22%3E%40Walid%20Fawzy%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20steps%20are%20you%20performing%20%3F%20What%20solution%20you%20have%20implemented%20%3F%20What%20consoles%20are%20you%20running%20to%20do%20the%20commands%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224594%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224594%22%20slang%3D%22en-US%22%3E%3CP%3EUsually%20it%20syncs%20changes%20from%20on%20prem%20AD%20to%20Azure%20every%2030%20min%2C%20unless%20you%20force%20a%20sync%20(at%20least%20AD%20Connect%20does).%20Have%20you%20waited%20enough%3F%20Also%20how%20are%20you%20checking%20if%20it%20works%3F%20New%20alias%20should%20appear%20in%20email%20addresses%20list%20in%20this%20user's%20Office%20365%20user%20card%20in%20admin%20center.%20You%20can%20also%20try%20sending%20an%20email%20to%20the%20new%20address.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224592%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224592%22%20slang%3D%22en-US%22%3EDo%20you%20need%20screenshot%20of%20attribute%20editor%20or%20active%20directory%20if%20AD%20any%20exactly%20part%20you%20need%20to%20screenshot%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224589%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224589%22%20slang%3D%22en-US%22%3ECan%20you%20make%20a%20screenshot%20from%20active%20directory%20users%20and%20computers%20mmc%3F%20With%20grey%20out%20user%20details.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224588%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224588%22%20slang%3D%22en-US%22%3Ei'm%20using%20two%20plans%20(%20office%20365%20business%20premium%20%26amp%3B%20Exchange%20online%20%22Plan%201%22%20)%20.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224587%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224587%22%20slang%3D%22en-US%22%3EI%20added%20aliases%20by%20using%20smtp%20small%20character%20but%20didn't%20change%20.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224582%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224582%22%20slang%3D%22en-US%22%3EHi%20%2C%20Nuno%20Silva%3CBR%20%2F%3EThanks%20for%20your%20reply%20%2C%20mailnickname%20didn't%20appear%20in%20attribute%20editor%20of%20users%20.%3CBR%20%2F%3EHow%20can%20i%20add%20this%20attribute%20%3F%3CBR%20%2F%3EThanks%20in%20advance%20......%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224468%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224468%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20this%20is%20what%20i'm%20doing%20personally%20and%20it%20seems%20more%20user%20friendly%20for%20not%20powershell%20savvy%20users.%20Just%20edit%20some%20attribute%20and%20add%20new%20smtp%20string.%20And%20you%20don't%20have%20to%20keep%20on-prem%20Exchange%20just%20to%20add%20aliases..%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224429%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224429%22%20slang%3D%22en-US%22%3E%3CP%3EDid%20you%20run%20the%20cmdlet%20in%20an%20Exchange%20Management%20Shell%20(EMS)%3F%20The%20cmdlet%20is%20not%20available%20in%20a%20regular%20PowerShell%20session.%3C%2FP%3E%0A%3CP%3EWhich%20version%20of%20Exchange%20is%20in%20use%20on-premises%3F%3C%2FP%3E%0A%3CP%3E-Thomas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224404%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224404%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F170116%22%20target%3D%22_blank%22%3E%40Walid%20Fawzy%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20change%20it%20using%20this%20article%26nbsp%3B%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2824766%2Fmailnickname-or-alias-attribute-in-exchange-online-doesn-t-match-what%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2824766%2Fmailnickname-or-alias-attribute-in-exchange-online-doesn-t-match-what%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224403%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224403%22%20slang%3D%22en-US%22%3EIf%20you%20didn%E2%80%99t%20already%20you%20would%20need%20to%20import%20the%20Exchange%20module%20and%20connect%20to%20you%20onprem%20environment%20(or%20try%20running%20it%20from%20the%20Exchange%20Management%20Shell%20on%20the%20server%20itself).%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224393%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224393%22%20slang%3D%22en-US%22%3E%3CP%3EI%20applied%20that%20command%20with%20power%20shell%20but%20appears%20error%3C%2FP%3E%3CP%3ESet-remotemailbox%20%3A%20The%20term%20'Set-remotemailbox'%20is%20not%20recognized%20as%20the%20name%20of%20a%20cmdlet%2C%20function%2C%20script%20file%2C%20or%20operable%20program.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-224391%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-224391%22%20slang%3D%22en-US%22%3E%3CP%3Ei%20applied%20those%20steps%20but%20didn't%20work%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222528%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222528%22%20slang%3D%22en-US%22%3E%3CP%3ETry%20this%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fblog.netwrix.com%2F2017%2F02%2F02%2Fusing-ad-to-add-an-alias-to-an-office-three-six-five-email-account%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.netwrix.com%2F2017%2F02%2F02%2Fusing-ad-to-add-an-alias-to-an-office-three-six-five-email-account%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222519%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20Alias%20name%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222519%22%20slang%3D%22en-US%22%3EIf%20you%20are%20running%20a%20hybrid%20config%2C%20you%20need%20to%20use%20the%20set-remotemailbox%20with%20the%20-alias%20parameter%20with%20the%20on%20premises%20Exchange%20shell%20instead.%3CBR%20%2F%3E%3CBR%20%2F%3ESet-remotemailbox%20-identity%20walid.fawzy%40contoso.com%20-alias%20wfawzy%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I can't change alias name where appeared the message  " the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization "

Any help please .....

19 Replies
Highlighted
Best Response confirmed by Thomas Stensitzki (MVP)
Solution
If you are running a hybrid config, you need to use the set-remotemailbox with the -alias parameter with the on premises Exchange shell instead.

Set-remotemailbox -identity walid.fawzy@contoso.com -alias wfawzy
Highlighted

i applied those steps but didn't work

Highlighted

I applied that command with power shell but appears error

Set-remotemailbox : The term 'Set-remotemailbox' is not recognized as the name of a cmdlet, function, script file, or operable program.

Highlighted
If you didn’t already you would need to import the Exchange module and connect to you onprem environment (or try running it from the Exchange Management Shell on the server itself).
Highlighted
Highlighted

Did you run the cmdlet in an Exchange Management Shell (EMS)? The cmdlet is not available in a regular PowerShell session.

Which version of Exchange is in use on-premises?

-Thomas

Highlighted

Yes, this is what i'm doing personally and it seems more user friendly for not powershell savvy users. Just edit some attribute and add new smtp string. And you don't have to keep on-prem Exchange just to add aliases..

Highlighted
Hi , Nuno Silva
Thanks for your reply , mailnickname didn't appear in attribute editor of users .
How can i add this attribute ?
Thanks in advance ......
Highlighted
I added aliases by using smtp small character but didn't change .
Highlighted
i'm using two plans ( office 365 business premium & Exchange online "Plan 1" ) .
Highlighted
Can you make a screenshot from active directory users and computers mmc? With grey out user details.
Highlighted
Do you need screenshot of attribute editor or active directory if AD any exactly part you need to screenshot ?
Highlighted

Usually it syncs changes from on prem AD to Azure every 30 min, unless you force a sync (at least AD Connect does). Have you waited enough? Also how are you checking if it works? New alias should appear in email addresses list in this user's Office 365 user card in admin center. You can also try sending an email to the new address. 

Highlighted

Hi @Walid Fawzy,

 

What steps are you performing ? What solution you have implemented ? What consoles are you running to do the commands ?

Highlighted

He is trying everything we throw at him.

Walid, do one screenshot of attribute editor, proxy addresses details window (with masked actual address). You can also do a screenshot of Office 365 admin center with that user's details opened. And i guess you can do screenshots of running powershell commands you've been suggested above.

 

Also, what happens if you email to alias address?

Highlighted

Hi , 

I attached two files for attribute editor and proxy address .

 

Highlighted

It seems that your main SMTP address uses your real domain ..gy.com, but for aliases you try to use microsoft.com. Just use your own main domain. I don't think you should use domain.onmicrosoft.com either, although this might work. But i think your real domain is what is desired to use in aliases.

Highlighted

I agree with that. You should use only domains, that are configured correctly at O365 admin portal. Also do not use *.onmicrosoft.com, there is problem with synchronizing: https://techcommunity.microsoft.com/t5/Deployment/Issues-with-adding-mydomain-onmicrosoft-com-proxya...