Attach groups to subdomaines

%3CLINGO-SUB%20id%3D%22lingo-sub-1588633%22%20slang%3D%22en-US%22%3EAttach%20groups%20to%20subdomaines%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1588633%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20O365%20test%20Tenant%2C%20i%20have%20a%20verified%20domain%20dot.com%20and%20a%20verified%20subdomain%20sub.dot.com%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20crated%20two%20groups%20%3A%20Employees%20and%20Students.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20i%20attach%20goup%20'Employees'%20to%20Domain%20A%20and%20group%20'Students'%20to%20domain%20B%20so%20that%20when%20i%20create%20acsount%2C%20email%20for%20'Employees'%20have%20%40dot.com%20and%20'Students'%20will%20have%20%40sub.dot.com%20extentions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20we%20cannot%20do%20this%20by%20linking%20groups%20to%20subdomains%2C%20how%20can%20i%20do%20this%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20a%20lot%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1588633%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1588863%22%20slang%3D%22en-US%22%3ERe%3A%20Attach%20groups%20to%20subdomaines%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1588863%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%2F745190%22%20target%3D%22_blank%22%3E%40Mabahma%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20setting%20up%20a%20New%20User%20Template%20resolve%20this%20issue%20for%20you%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20template%20would%20use%20the%20dot.com%20domain%2C%20and%20the%20other%20the%20sub.dot.com%20when%20creating%20the%20user.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fadmin.microsoft.com%2FAdminPortal%2FHome%23%2Faddusertemplates%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fadmin.microsoft.com%2FAdminPortal%2FHome%23%2Faddusertemplates%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%2C%3C%2FP%3E%3CP%3EMark%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1588916%22%20slang%3D%22en-US%22%3ERe%3A%20Attach%20groups%20to%20subdomaines%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1588916%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F383653%22%20target%3D%22_blank%22%3E%40HidMov%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20done%20this%20but%20i%20can't%20see%20the%20template%20in%20Azure%20ad%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhy%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20other%20way%20to%20do%20this%20in%20O365%20or%20in%20the%20linked%20Azure%20AD%20%3F%3C%2FP%3E%3CP%3EKind%20regards%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1588925%22%20slang%3D%22en-US%22%3ERe%3A%20Attach%20groups%20to%20subdomaines%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1588925%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20always%20used%20the%20admin.microsoft.com%20portal%20to%20set%20up%20and%20use%20the%20templates%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eadmin.microsoft.com%20%26gt%3B%20users%2C%20active%20users%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22temp1.png%22%20style%3D%22width%3A%20391px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F212401i013152D3916A8BE8%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22temp1.png%22%20alt%3D%22temp1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20click%20on%20the%20'user%20templates'.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22temp2.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F212402i8188700A43A044DF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22temp2.png%22%20alt%3D%22temp2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you've%20created%20a%20template%20already%20(I%20think%20you%20just%20mentioned%20you%20had%3F)%20then%20click%20on%20the%20template%20name%20and%20fill%20out%20the%20rest.%20If%20you%2C%20you%20can%20add%20a%20template%20with%20the%20'Add%20template'%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20far%20as%20I%20am%20aware%2C%20these%20templates%20only%20work%20in%20admin.microsoft.com%20not%20in%20the%20Azure%20AD%20Portal%20itself.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

In my O365 test Tenant, i have a verified domain dot.com and a verified subdomain sub.dot.com

 

I have crated two groups : Employees and Students.

 

How can i attach goup 'Employees' to Domain A and group 'Students' to domain B so that when i create acsount, email for 'Employees' have @dot.com and 'Students' will have @sub.dot.com extentions.

 

I we cannot do this by linking groups to subdomains, how can i do this ?

 

Thank you a lot

3 Replies

Hi @Mabahma 

 

Would setting up a New User Template resolve this issue for you?

 

One template would use the dot.com domain, and the other the sub.dot.com when creating the user.

 

https://admin.microsoft.com/AdminPortal/Home#/addusertemplates

 

Hope this helps,

Mark

@HidMov 

 

Thank you

 

I have done this but i can't see the template in Azure ad?

 

Why?

 

Is there any other way to do this in O365 or in the linked Azure AD ?

Kind regards

 

I've always used the admin.microsoft.com portal to set up and use the templates

 

admin.microsoft.com > users, active users

 

temp1.png

 

Then click on the 'user templates'.

 

temp2.png

 

If you've created a template already (I think you just mentioned you had?) then click on the template name and fill out the rest. If you, you can add a template with the 'Add template'

 

So far as I am aware, these templates only work in admin.microsoft.com not in the Azure AD Portal itself.