Migrate email to a O365 Teams emails

%3CLINGO-SUB%20id%3D%22lingo-sub-1254978%22%20slang%3D%22en-US%22%3EMigrate%20email%20to%20a%20O365%20Teams%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1254978%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tested%20out%20the%20email%20migration%20function%20and%20it%20works%20well.%20However%2C%20we%20used%20to%20have%20a%20shared%20mailbox%2C%20say%20%3CA%20href%3D%22mailto%3Ainfo%40domain.com%2C%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Einfo%40domain.com%2C%3C%2FA%3E%26nbsp%3Bwhich%20we%20now%20want%20to%20use%20as%20an%20O365%20Teams%20shared%20mailbox%20so%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22mailto%3Aabc%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eabc%40domain.com%20%3C%2FA%3Eand%20%3CA%20href%3D%22mailto%3Adev%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edev%40domain.com%3C%2FA%3E%26nbsp%3Bcan%20both%20be%20part%20of%20the%20group%20and%20share%20the%20food.%20How%20can%20I%20migrate%20that%20email%20into%20the%20O365%20shared%20mail%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1254978%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%20Administration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1256582%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20email%20to%20a%20O365%20Teams%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1256582%22%20slang%3D%22en-US%22%3E%3CP%3ETeams%20and%20the%20underlying%20Office%20365%20Groups%20mailboxes%20are%20somewhat%20limited%20when%20it%20comes%20to%20handling%20email%20(and%20calendar%20items)%2C%20so%20I'd%20suggest%20stick%20to%20using%20a%20shared%20mailbox.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1261909%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20email%20to%20a%20O365%20Teams%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1261909%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%20...%20some%20of%20our%20members%20jumped%20on%20Teams%20right%20away%20and%20so%20many%20of%20our%20%22shared%20email%20mailbox%22%20names%20are%20part%20of%20the%20O365%20group%20email%20that's%20attached%20to%20the%20team.%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20we%20can't%20change%20that%20so%20if%20%3CA%20href%3D%22mailto%3Asales%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Esales%40domain.com%3C%2FA%3E%26nbsp%3Bis%20already%20used%20as%20the%20username%20an%20O365%20Group%20for%20the%20Sales%20Team%2C%20how%20do%20we%20get%20%3CA%20href%3D%22mailto%3Asales%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Esales%40domain.com%3C%2FA%3E%26nbsp%3Bfor%20the%20shared%20mailbox%20if%20we%20can't%20change%20the%20O365%20name%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1262558%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20email%20to%20a%20O365%20Teams%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1262558%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20change%20anything%20via%20PowerShell.%20For%20the%20Group%2C%20use%20the%20Set-UnifiedGroup%20cmdlet.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1263909%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20email%20to%20a%20O365%20Teams%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1263909%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BThanks%20for%20this!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20change%20the%20address%20of%20my%20Teams's%20O365%20group%20email%2C%20%3CA%20href%3D%22mailto%3Amyteam%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Emyteam%40domain.com%3C%2FA%3E%26nbsp%3Bto%20teams.myteam%40domaincom%20but%20then%20when%20I%20tried%20to%20create%20a%20shared%20mailbox%20with%20%3CA%20href%3D%22mailto%3Amyteam%40domain.com%2C%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Emyteam%40domain.com%2C%3C%2FA%3E%26nbsp%3Bit%20says%20that%20%22The%20proxy%20address%20SMTP%3Amyteam%40domain.com%20is%20already%20being%20used%20by%20the%20proxy%20addresses%20or%20LegacyExchangeDN%20of%20.....%20Please%20choose%20another%20proxy%20address.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEDIT%3A%20figured%20out%20that%20when%20I%20changed%20the%20PrimarySmtpAddress%20with%20the%20new%20email%2C%20it%20automatically%20created%20an%20alias%20with%20the%20old%20one.%20Trying%20to%20figure%20out%20how%20to%20remove%20the%20alias.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1265200%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20email%20to%20a%20O365%20Teams%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1265200%22%20slang%3D%22en-US%22%3E%3CP%3ESomething%20like%20this%20should%20do%20it%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3ESet-UnifiedGroup%20groupname%20-EmailAddresses%20%40%7Bremove%3D%22address%40domain.com%22%7D%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1269870%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20email%20to%20a%20O365%20Teams%20emails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1269870%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi there!

 

I tested out the email migration function and it works well. However, we used to have a shared mailbox, say info@domain.com, which we now want to use as an O365 Teams shared mailbox so abc@domain.com and dev@domain.com can both be part of the group and share the mailbox.

 

How can I migrate that email into the O365 shared mail?

 

Thanks!

6 Replies

Teams and the underlying Office 365 Groups mailboxes are somewhat limited when it comes to handling email (and calendar items), so I'd suggest stick to using a shared mailbox. 

Highlighted

Thanks @Vasil Michev  ... some of our members jumped on Teams right away and so many of our "shared email mailbox" names are part of the O365 group email that's attached to the team.

And we can't change that so if sales@domain.com is already used as the username an O365 Group for the Sales Team, how do we get sales@domain.com for the shared mailbox if we can't change the O365 name?

Highlighted

You can change anything via PowerShell. For the Group, use the Set-UnifiedGroup cmdlet.

Highlighted

@Vasil Michev Thanks for this!

 

I did change the address of my Teams's O365 group email, myteam@domain.com to teams.myteam@domaincom but then when I tried to create a shared mailbox with myteam@domain.com, it says that "The proxy address SMTP:myteam@domain.com is already being used by the proxy addresses or LegacyExchangeDN of ..... Please choose another proxy address."

 

EDIT: figured out that when I changed the PrimarySmtpAddress with the new email, it automatically created an alias with the old one. Trying to figure out how to remove the alias.

Highlighted

Something like this should do it:

 

Set-UnifiedGroup groupname -EmailAddresses @{remove="address@domain.com"}

Highlighted