Home

Convert existing O365 groups from one domain to another without issues / problems

%3CLINGO-SUB%20id%3D%22lingo-sub-731051%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-731051%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20Chris%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20groups%20are%20synced%20from%20local%20AD.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-730957%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-730957%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369098%22%20target%3D%22_blank%22%3E%40nostalgic%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EConsidering%20your%20AAD%20Connect%2C%20are%20your%20Office%20365%20groups%20synced%20to%20local%20AD%20or%20are%20they%20cloud%20only%3F%20I%20find%20most%20Office%20365%20groups%20are%20cloud%20only%20even%20though%20the%20users%20are%20synced%20with%20AAD%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20Cloud%20only%2C%20and%20assuming%20that%20the%20second%20domain%20is%20validated%20within%20the%20365%20tenant%20then%20the%20following%20article%20should%20work%20for%20you.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Groups%2FIs-there-a-way-to-change-O365-group-email-address-using%2Ftd-p%2F49872%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Groups%2FIs-there-a-way-to-change-O365-group-email-address-using%2Ftd-p%2F49872%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20always%20would%20recommend%20testing%20on%20a%20test%20group%20to%20ensure%20that%20it%20works%20before%20doing%20it%20on%20live%20groups.%3CBR%20%2F%3E%3CBR%20%2F%3ELet%20me%20know%20how%20you%20get%20on%20-%20or%20if%20the%20groups%20are%20synced%20from%20local%20AD.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-731093%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-731093%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369098%22%20target%3D%22_blank%22%3E%40nostalgic%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EJust%20want%20to%20double%20check%20-%20the%20Office%20365%20groups%20are%20synced%20back%20to%20Local%20AD%20using%20the%20writeback%20feature%20and%20your%20organisation%20is%20in%20Hybrid.%20See%20article%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-office-365-groups%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-office-365-groups%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EJust%20want%20to%20be%20100%25%20sure%20before%20making%20the%20recommendation!%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-733521%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-733521%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEdited%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Chris%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20checked%20the%20AAD%20Connect%20configuration%20and%20all%20the%20%22%20write%20back%20%22%20features%20are%20disabled.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20AAD%20Connect%20client%20does%20have%20the%20attribute%20%22%20groups%20%22%20selected%20when%20running%20a%20sync%20my%20understanding%20is%20that%20because%20of%20this%20-%20the%20groups%20are%20synced%20to%20O365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20my%20understand%20I%20would%20need%20to%20modify%20the%20attributes%20of%20the%20groups%20on%20local%20AD%20but%20I'm%20not%20sure%20if%20I%20can%20change%20the%20domain%20in%20the%20group%20properties%20and%20if%20that%20would%20have%20bad%20side%20effect%20on%20Teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20domain%20we%20want%20to%20change%20it%20to%20is%20verified%20in%20O365.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooking%20forward%20to%20your%26nbsp%3B%20reply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-733567%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-733567%22%20slang%3D%22en-US%22%3EAre%20you%20sure%20we%20are%20talking%20about%20Office%20365%20groups%20here%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-733699%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-733699%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369098%22%20target%3D%22_blank%22%3E%40nostalgic%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20is%20difficult%20to%20say%20without%20looking%20at%20this%20in%20your%20tenant%20and%20as%20Adam%20says%20there%20are%20several%20different%20types%20of%20groups%20-%20could%20be%20distribution%20lists%20syncing%20to%20your%20Office%20365%20tenant%20not%20actual%20Office%20365%20groups%3CBR%20%2F%3E%3CBR%20%2F%3EA%20good%20way%20to%20check%20is%20this%20-%20can%20you%20go%20into%20the%20Microsoft%20365%20Admin%20Centre%20(%3CA%20href%3D%22https%3A%2F%2Fadmin.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fadmin.microsoft.com%3C%2FA%3E)%20and%20go%20to%20Admin%20%26gt%3B%20Groups%20%26gt%3B%20Groups.%20Are%20the%20groups%20which%20are%20Office%20365%20groups%20also%20groups%20on%20your%20local%20AD%20and%20in%20an%20OU%20which%20is%20syncing%20via%20Azure%20AD%20Connect%3F%20If%20they%20are%20not%20present%20in%20any%20of%20the%20OU's%20which%20are%20syncing%20then%20this%20means%20that%20they%20were%20created%20in%20the%20365%20Tenant.%3CBR%20%2F%3E%3CBR%20%2F%3ELet%20us%20know%20how%20you%20get%20on.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-735387%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-735387%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F72542%22%20target%3D%22_blank%22%3E%40adam%20deltinger%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Adam%20%26amp%3B%20Chris%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20pointing%20this%20out%20-%20I%20was%20confused%20in%20my%20first%20post%20with%20regards%20to%20exactly%20what%20was%20syncing%20from%20where.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYep%20I%20am%20talking%20about%20Office%20365%20groups%20-%20I%20found%20a%20power%20shell%20command%20that%20lets%20me%20do%20what%20I%20need%20to%20which%20is%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Groups%2FIs-there-a-way-to-change-O365-group-email-address-using%2Ftd-p%2F49872%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Groups%2FIs-there-a-way-to-change-O365-group-email-address-using%2Ftd-p%2F49872%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tested%20changing%20the%20domain%20from%20using%20the%20PS%20command%20in%20the%20above%20link%20and%20it%20works%20fine%20and%20does%20not%20seem%20to%20have%20a%20negative%20effect%20on%20user%20experience%20at%20all.%20(%20If%20the%20user%20is%20logged%20into%20the%20teams%20group%20and%20you%20change%20the%20domain%20name%20of%20the%20group%20)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20happy%20to%20create%20another%20post%20for%20this%20but%20I%20was%20wondering%20if%20there%20is%20a%20way%20to%20manage%20teams%20permissions%20so%20that%20only%20one%20persons%20has%20the%20permissions%3F%20not%20everyone..%20had%20a%20look%20at%20this%20yesterday%20and%20it%20looks%20like%20to%20my%20understanding%20you%20need%20a%20Azure%20premium%20sub.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-735529%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-735529%22%20slang%3D%22en-US%22%3EHi!%20How%20do%20you%20mean%20%E2%80%9Conly%20one%20person%20has%20permissions%E2%80%9D%20%3F%3F%20I%E2%80%99d%20suggest%20that%20you%20create%20a%20new%20post%20and%20explain%20your%20issue%20or%20scenario%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-730928%22%20slang%3D%22en-US%22%3EConvert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-730928%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20looking%20at%20converting%20some%20O365%20groups%20which%20have%20been%20created%20with%20something%40domain1.com%20to%20something%40domain2%20without%20causing%20the%20end-users%20too%20much%20interruption%20or%20any%20problems%20with%20Teams%20sites.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20infrastructure%20is%20local%20AD%20using%20AAD%20connect%20to%20sync.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20haven't%20done%20this%20before%20and%20ANY%20information%20you%20can%20provide%20would%20be%20much%20appreciated%20-%20hyperlinks%20ETC-%26nbsp%3B%20just%20need%20a%20starting%20point.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20not%20very%20experienced%20with%20Teams%20so%20I'd%20like%20to%20reduce%20t%20he%20risk%20for%20something%20going%20wrong%20to%20be%20as%20small%20as%20possible.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-730928%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConvert%20from%20one%20doman%20to%20another%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-735678%22%20slang%3D%22en-US%22%3ERe%3A%20Convert%20existing%20O365%20groups%20from%20one%20domain%20to%20another%20without%20issues%20%2F%20problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-735678%22%20slang%3D%22en-US%22%3EAs%20Adam%20said%20probably%20better%20in%20a%20new%20post.%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20making%20a%20whole%20load%20of%20assumptions%20then%20you%20can%20control%20who%20creates%20Teams%20by%20controlling%20who%20can%20create%20Office%20365%20groups%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fadmin%2Fcreate-groups%2Fmanage-creation-of-groups%3Fview%3Do365-worldwide%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fadmin%2Fcreate-groups%2Fmanage-creation-of-groups%3Fview%3Do365-worldwide%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20can%20control%20who%20can%20create%20Teams%20you%20can%20ensure%20the%20same%20owner%20for%20all%20Teams%20and%20therefore%20control%20the%20permissions%20on%20all%20Teams.%20This%20would%2C%20I%20imagine%2C%20be%20be%20the%20global%20admin%2FTeams%20Administrator%20who%20has%20access%20to%20the%20Teams%20Admin%20Centre.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20helps%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E
nostalgic
New Contributor

Hi guys,

 

I'm looking at converting some O365 groups which have been created with something@domain1.com to something@domain2 without causing the end-users too much interruption or any problems with Teams sites.

 

The infrastructure is local AD using AAD connect to sync.

 

I haven't done this before and ANY information you can provide would be much appreciated - hyperlinks ETC-  just need a starting point.

 

I am not very experienced with Teams so I'd like to reduce t he risk for something going wrong to be as small as possible.

9 Replies

Hi @nostalgic

Considering your AAD Connect, are your Office 365 groups synced to local AD or are they cloud only? I find most Office 365 groups are cloud only even though the users are synced with AAD

If Cloud only, and assuming that the second domain is validated within the 365 tenant then the following article should work for you.

https://techcommunity.microsoft.com/t5/Office-365-Groups/Is-there-a-way-to-change-O365-group-email-a...

As always would recommend testing on a test group to ensure that it works before doing it on live groups.

Let me know how you get on - or if the groups are synced from local AD.

Best, Chris

@Christopher Hoard 

 

Thanks Chris,

 

The groups are synced from local AD.

Hi @nostalgic,

Just want to double check - the Office 365 groups are synced back to Local AD using the writeback feature and your organisation is in Hybrid. See article

https://docs.microsoft.com/en-us/exchange/hybrid-deployment/set-up-office-365-groups

Just want to be 100% sure before making the recommendation!

Best, Chris

@Christopher Hoard 

 

Edited:

 

Hi Chris,

 

I have checked the AAD Connect configuration and all the " write back " features are disabled.

 

The AAD Connect client does have the attribute " groups " selected when running a sync my understanding is that because of this - the groups are synced to O365.

 

To my understand I would need to modify the attributes of the groups on local AD but I'm not sure if I can change the domain in the group properties and if that would have bad side effect on Teams.

 

The domain we want to change it to is verified in O365.

 

Looking forward to your  reply.

 

Are you sure we are talking about Office 365 groups here?
Hi @nostalgic

It is difficult to say without looking at this in your tenant and as Adam says there are several different types of groups - could be distribution lists syncing to your Office 365 tenant not actual Office 365 groups

A good way to check is this - can you go into the Microsoft 365 Admin Centre (https://admin.microsoft.com) and go to Admin > Groups > Groups. Are the groups which are Office 365 groups also groups on your local AD and in an OU which is syncing via Azure AD Connect? If they are not present in any of the OU's which are syncing then this means that they were created in the 365 Tenant.

Let us know how you get on.

Best, Chris

@adam deltinger @Christopher Hoard 

 

Hi Adam & Chris

 

Thank you for pointing this out - I was confused in my first post with regards to exactly what was syncing from where.

 

Yep I am talking about Office 365 groups - I found a power shell command that lets me do what I need to which is https://techcommunity.microsoft.com/t5/Office-365-Groups/Is-there-a-way-to-change-O365-group-email-a...

 

I tested changing the domain from using the PS command in the above link and it works fine and does not seem to have a negative effect on user experience at all. ( If the user is logged into the teams group and you change the domain name of the group )

 

I'm happy to create another post for this but I was wondering if there is a way to manage teams permissions so that only one persons has the permissions? not everyone.. had a look at this yesterday and it looks like to my understanding you need a Azure premium sub.

 

 

 

Hi! How do you mean “only one person has permissions” ?? I’d suggest that you create a new post and explain your issue or scenario :)

Adam
As Adam said probably better in a new post.

But making a whole load of assumptions then you can control who creates Teams by controlling who can create Office 365 groups

https://docs.microsoft.com/en-us/office365/admin/create-groups/manage-creation-of-groups?view=o365-w...

If you can control who can create Teams you can ensure the same owner for all Teams and therefore control the permissions on all Teams. This would, I imagine, be be the global admin/Teams Administrator who has access to the Teams Admin Centre.

Hope that helps

Best, Chris