Home

Renaming of O365 groups

%3CLINGO-SUB%20id%3D%22lingo-sub-4758%22%20slang%3D%22en-US%22%3ERenaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4758%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20search%20to%20see%20if%20anyone%20had%20already%20asked%2C%20but%20did%20not%20find%20any%20answers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EToday%2C%20I%20renamed%20one%20of%20my%20O365%20Groups%2C%20but%20found%20the%20experience%20to%20be%20underwhelming%3A%3C%2FP%3E%3CP%3E-%20No%20option%20to%20change%20the%20associated%20email%20address%3C%2FP%3E%3CP%3E-%20The%20OneDrive%20associated%20to%20the%20group%20does%20not%20get%20renamed%2C%20nor%20is%20there%20an%20option%20to%20do%20so%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20there%20any%20plans%20in%20the%20making%20to%20improve%20the%20remaning%20experience%3F%20Just%20renaming%20the%20group%20is%20likely%20to%20create%20confusion.%20I%20do%20understand%20the%20complexity%20of%20ensuring%20that%20a%20new%20email%20address%2C%20or%20OneDrive%20name%20is%20not%20already%20in%20use%2C%20but%20maybe%20offering%20the%20option%20to%20make%20the%20change%20manually%2C%20and%20thus%20have%20a%20check%20against%20existing%20names%20could%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20for%20any%20information%20anyone%20can%20share.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIvo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-4758%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-325366%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-325366%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20would%20start%20with%20this%20command%20as%20noted%20above%3A%3CBR%20%2F%3ESet-UnifiedGroup%20-Identity%20%3CGROUPNAME%3E%20-PrimarySMTPAddress%20%3CNEWEMAILADDRESS%3E%3C%2FNEWEMAILADDRESS%3E%3C%2FGROUPNAME%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThen%20the%20correct%20command%20to%20remove%20the%20old%20address%20to%20free%20it%20up%3A%3CBR%20%2F%3ESet-UnifiedGroup%20-Identity%20%3CGROUPNAME%3E%20-EmailAddresses%20%40%7Bremove%3D%E2%80%9D%3CNEWEMAILADDRESS%3E%E2%80%9D%7D%3C%2FNEWEMAILADDRESS%3E%3C%2FGROUPNAME%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EYou%20can%20also%20rename%20the%20Alias%3A%3CBR%20%2F%3ESet-UnifiedGroup%20-Identity%20%3CGROUPNAME%3E%20-Alias%20%3CNEWALIAS%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI'd%20imagine%20you%20could%20add%20your%20SPO%20record%20back%20with%3A%3CBR%20%2F%3ESet-UnifiedGroup%20-Identity%20%3CGROUPNAME%3E%20-EmailAddresses%20%40%7Badd%3D%E2%80%9D%3CSPO_%3E%E2%80%9D%7D%3CBR%20%2F%3EThe%20SPO%20record%20has%20to%20do%20with%20SharePoint%20Online.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPO_%3E%3C%2FGROUPNAME%3E%3C%2FNEWALIAS%3E%3C%2FGROUPNAME%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-227366%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-227366%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20used%20the%20command%20syntax%3C%2FP%3E%3CP%3E%3CSTRONG%3Eset-unifiedGroup%20-Identity%20%3CGROUPNAME%3E%20-EmailAddress%20SMTP%3A%3CNEWEMAILADDRESS%3E%3C%2FNEWEMAILADDRESS%3E%3C%2FGROUPNAME%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThis%20is%20what%20my%20Attribute%20%22EmailAddresses%22%20looked%20before%20(slightly%20changed%20content)%3A%3C%2FP%3E%3CPRE%3EEmailAddresses%20%3A%20%7BSPO%3ASPO_0affa9c4-1111-2222-3333-162e4873a42e%40SPO_89617050-2222-1111-3333-cb7206607595%2C%3CBR%20%2F%3E%20smtp%3ATestingMSTeams%40mydomain.onmicrosoft.com%2C%20SMTP%3ATestingMSTeams%40domain.me%7D%3C%2FPRE%3E%3CP%3EAfter%20running%20the%20command%20without%20failures%2C%20the%20attribute%20contents%20look%20same%20but%20the%20SPO%3A%20part%20is%20missing.%20Is%20this%20critical%20or%20can%20I%20proceed%20on%20using%20my%20Group%20without%20any%20problems%20now%3F%3C%2FP%3E%3CP%3EAfter%20running%20the%20command%3A%3C%2FP%3E%3CPRE%3EEmailAddresses%20%3A%20%7Bsmtp%3ATestingMSTeams%40mydomain.onmicrosoft.com%2C%20smtp%3ATestingMSTeams%40domain.me%2C%3CBR%20%2F%3E%20SMTP%3A%3CSTRONG%3ETestingMSTeams2%40pia.me%3C%2FSTRONG%3E%7D%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAppreciate%20your%20feedback%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-173404%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-173404%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Mario%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20install%20PowerShell%20on%20Mac%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Efrom%20here%3C%2FA%3E%2C%20but%20at%20least%20on%20Dec%202017%20there%20were%20still%20many%20issues%20with%20connecting%20to%20O365%20from%20a%20Mac.%20More%20on%20this%20%3CA%20href%3D%22https%3A%2F%2Fhochwald.net%2Fconnect-office-365-powershell-core-non-windows%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Efrom%20here%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you're%20managing%20Exchange%20Online%2C%20that%20%3CA%20href%3D%22https%3A%2F%2Fwww.cgoosen.com%2F2017%2F03%2Fconnecting-to-exchange-online-with-remote-powershell-from-a-mac%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eseems%20to%20be%20possible%3C%2FA%3E%20from%20a%20Mac.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EKris%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-160613%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-160613%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3Bis%20there%20anyway%20to%20do%20this%26nbsp%3Bin%20mac%20%3F%20as%20far%20as%20i%20know%20powershell%20only%20available%20in%20windows%2C%3C%2FP%3E%0A%3CP%3EThankyou%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-78774%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-78774%22%20slang%3D%22en-US%22%3EThis%20worked%20for%20the%20first%20group%20I%20tried%2C%20but%20the%20second%20and%20third%20came%20back%20with%20%22We%20failed%20to%20update%20the%20unified%20group.%20Please%20try%20again%20later%22%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20ideas%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-39520%22%20slang%3D%22en-US%22%3ERE%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39520%22%20slang%3D%22en-US%22%3ECan%20someone%20clear%20up%20some%20questing%20I%20have%20on%20naming%20groups%3F%20We%20want%20to%20roll%20out%20Office%2035%20Groups%20in%20our%20organization%20but%20need%20to%20define%20our%20Governance%20in%20how%20these%20are%20named%20and%20found%20in%20our%20GAL%2C%20etc.%20There%20are%20a%20few%20fields%20that%20seem%20to%20define%20a%20group%20name%20but%20the%20PowerShell%20documentation%20isn't%20specifically%20clear%20on%20what%20difference%20there%20is%20between%20a%20%22name%22%20%22identity%22%20%22displayName%22%20and%20%22alias%22.%20We%20also%20need%20a%20prefix%20to%20be%20appended%20to%20the%20name%20for%20the%20GAL%20but%20I%20don't%20want%20that%20Prefix%20to%20show%20up%20in%20Outlook%20or%20OWA%20on%20the%20group%20list%20for%20users.%20Where%20exactly%20do%20these%20group%20names%20show%20up%20and%20how%20can%20I%20best%20plan%20to%20use%20these%20parameters%20in%20Powershell%20when%20creating%20the%20groups.%20Too%20many%20options%20are%20not%20exposed%20in%20the%20GUI%20to%20make%20group%20creation%20in%20the%20enterprise%20worth%20doing%20at%20this%20time.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-39410%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39410%22%20slang%3D%22en-US%22%3ENot%20sure%20when%20MSFT%20will%20improve%20this.%20But%20here%20is%20the%20user%20voice%20link%20for%20this%20feature.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Foffice365.uservoice.com%2Fforums%2F286611-office-365-groups%2Fsuggestions%2F15585969-improve-the-renaming-functionality-of-office-365-g%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foffice365.uservoice.com%2Fforums%2F286611-office-365-groups%2Fsuggestions%2F15585969-improve-the-renaming-functionality-of-office-365-g%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-39366%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39366%22%20slang%3D%22en-US%22%3ESanthosh%20do%20you%20think%20this%20will%20be%20corrected%20in%20the%20future%20%3F%20Is%20there%20a%20uservoice%20for%20this%3F%3CBR%20%2F%3E%3CBR%20%2F%3EOur%20use%20case%20is%20that%20we%20often%20start%20work%20on%20preliminary%20projects%20and%20cannot%20give%20them%20a%20project%20number%20until%20they%20have%20been%20added%20to%20our%203rd%20party%20PM%20system.%20All%20of%20our%20project%20groups%20have%20the%20proj%20number%20attached%20to%20the%20name.%20Ideally%20we%20would%20rename%20the%20group%20rather%20than%20destroy%20the%20document%20revision%20history%20by%20downloading%20the%20library%20and%20reuploading%20to%20a%20new%20site.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-37153%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-37153%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20it%20possible%20to%20use%20a%20distribution%20list%20as%20the%20primary%20SMTP%3F%20I%20can%20change%20the%20email%20in%20PowerShell%20to%20a%20new%20email%20but%20it%20will%20not%20let%20me%20change%20it%20to%20the%20address%20associated%20with%20a%20DL.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-25815%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-25815%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%2C%20along%20with%26nbsp%3B%3CSPAN%3E%3CSTRONG%3E%3CEM%3Eset-unifiedGroup%20-Identity%20%3CGROUPNAME%3E%20-PrimarySMTPAddress%20%3CNEW%20email%3D%22%22%20address%3D%22%22%3E%3C%2FNEW%3E%3C%2FGROUPNAME%3E%3C%2FEM%3E%3C%2FSTRONG%3E%2C%20you%20need%20to%20use%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CEM%3E%3CSTRONG%3Eset-unifiedGroup%20-Identity%20%3CGROUPNAME%3E%26nbsp%3B-EmailAddress%20SMTP%3A%3CNEWEMAILADDRESS%3E%3C%2FNEWEMAILADDRESS%3E%3C%2FGROUPNAME%3E%3C%2FSTRONG%3E%20%3C%2FEM%3Eas%20this%20will%20remove%20the%20old%20email%20address%20from%20Office365%20Group%20identity%20so%20you%20can%20reuse%20it.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-25505%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-25505%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1547%22%20target%3D%22_blank%22%3ESanthosh%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20have%20a%20group%20that%20was%20created%20and%20have%20decided%20to%20change%20it%20to%20a%20shared%20mailbox%20or%20back%20to%20a%20DL.%20%26nbsp%3BWe%20need%20to%20be%20able%20to%20re-use%20the%20SMTP%20address%20associated%20with%20the%20Group.%20%26nbsp%3BWhat%20are%20your%20recommendations%3F%3C%2FP%3E%3CP%3EIs%20set-unifiedGroup%20-PrimarySMTPAddress%20suffice%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-14394%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-14394%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20is%20unfortunate%2C%20I%20hope%20not%20a%20permanent%20situation.%20We%20started%20using%20a%20Group%20and%20then%20realized%20we%20wanted%20to%20expand%20it%2C%20so%20there%20are%20a%20bunch%20of%20files%20and%20emails%2C%20so%20Deleting%20the%20group%20and%20starting%20over%20is%20not%20an%20option%20we%20want%20to%20persue.%3C%2FP%3E%3CP%3ERob.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-14222%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-14222%22%20slang%3D%22en-US%22%3EYou%20are%20correct.%20When%20you%20rename%20the%20group%20from%20Groups%20UI%20it%20will%20only%20update%20the%20Group's%20display%20name%20and%20none%20other%20changed.%20So%20you%20can%20delete%20the%20group%20and%20create%20new%20one%20with%20the%20correct%20name.%20Please%20be%20aware%20that%20when%20you%20delete%20group%20using%20Power%20Shell%20it%20will%20not%20delete%20the%20hidden%20site%20collection.%20So%20it%20is%20recommended%20to%20delete%20it%20from%20Group%20UI.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-14095%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-14095%22%20slang%3D%22en-US%22%3E%3CP%3EI%20took%20a%20peak%20at%20the%20Site%20Page%20that%20goes%20with%20the%20group%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2FTENANT.sharepoint.com%2Fsites%2FGROUPNAME%2FSitePages%2FHome.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FTENANT.sharepoint.com%2Fsites%2FGROUPNAME%2FSitePages%2FHome.aspx%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20only%20is%20the%20URL%20not%20changing%20but%20on%20the%20Site%20Page%20the%20Group%20still%20retains%20the%20old%20Group%20Name%2C%20probably%20picking%20up%20from%20the%20URL.%20So%20renaming%20now%20is%20only%20partly%20done%2C%20even%20on%20the%20User%20Interface.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20scared%20to%20Delete%20the%20Group%20and%20try%20and%20re-create%20it%20with%20the%20correct%20name%2C%20I%20suspect%20the%20correct%20name%20is%20now%20%22taken%22%20by%20the%20rename%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4916%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4916%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20root%20name%20in%20url%20will%20not%20change.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4915%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4915%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Santosh%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20display%20name%20does%20change%2C%20but%20not%20the%20root%20name%20in%20the%20URL.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIvo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4767%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4767%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20should%20be%20possible%20to%20rename%20the%20mailaddress%20throught%20the%20UI%2C%20since%20renaming%20of%20the%20name%20is%20possible%20for%20end%20users%20as%20well.%20Although%20renaming%20of%20the%20mail%20address%20with%20Powershell%20can%20be%20done%2C%20it%20is%20not%20a%20feasible%20solution%20when%20you%20have%20a%20lot%20of%20groups%20in%20your%20tenant%20(e.g.%20schools).%20The%20rename%20should%20ideally%20also%20check%20for%20renaming%20the%20mailaddress%20throught%20the%20UI.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4766%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4766%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20add%20to%20this%20issue%3A%20when%20a%20naming%20policy%20is%20defined%2C%20and%20you%20rename%20the%20group%20then%20the%20naming%20policy%20suffixes%20can%20be%20changed%20as%20well.%20What%20happens%20if%20you%20save%20the%20name%20change%3A%20it%20adds%20again%20the%20pre-%20and%20suffixes!%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20if%20a%20group%20admin%20decides%20to%20change%20the%20pre-%20and%20suffixes%20with%20the%20name%20change%20then%20the%20policy%20will%20be%20re-applied%20as%20well%20and%20if%20the%20admin%20changes%20the%20original%20given%20name%20(and%20leaves%20the%20suffix%20and%20prefix)%20then%20the%20naming%20policy%20is%20reapplied%20and%20you%20will%20get%20double%20pre-%20and%20postfixes!%3CBR%20%2F%3EThere%20is%20already%20a%20suggestion%20on%20uservoice%20to%20make%20the%20renaming%20of%20emailaddress%20possible%20as%20well%20at%20%3CA%20href%3D%22https%3A%2F%2Foffice365.uservoice.com%2Fforums%2F286611-office-365-groups%2Fsuggestions%2F15585969-improve-the-renaming-functionality-of-office-365-g%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foffice365.uservoice.com%2Fforums%2F286611-office-365-groups%2Fsuggestions%2F15585969-improve-the-renaming-functionality-of-office-365-g%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20added%20a%20suggestion%20to%20improve%20the%20rename%20with%20naming%20policy%20as%20well%3A%20%3CA%20href%3D%22https%3A%2F%2Foffice365.uservoice.com%2Fforums%2F286611-office-365-groups%2Fsuggestions%2F15586377-renaming-groups-when-renaming-a-group-with-naming%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foffice365.uservoice.com%2Fforums%2F286611-office-365-groups%2Fsuggestions%2F15586377-renaming-groups-when-renaming-a-group-with-naming%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4763%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4763%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20tested%26nbsp%3B%3CSPAN%3EOneDrive%20associated%20to%20the%20group%20rename%20and%20it%20gets%20renamed%20properly.%20Rename%20took%20some%20time%20to%20reflect%20in%20OneDrive.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4761%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4761%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20need%20to%20use%20PowerShell%20to%20change%20group%20email%20address.%3C%2FP%3E%3CP%3ESet-UnifiedGroup%20%E2%80%93Identity%20%3CGROUPNAME%3E%26nbsp%3B%E2%80%93PrimarySmtpAddress%20%3CNEWEMAIL%3E%3C%2FNEWEMAIL%3E%3C%2FGROUPNAME%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-871431%22%20slang%3D%22en-US%22%3ERe%3A%20Renaming%20of%20O365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-871431%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3072%22%20target%3D%22_blank%22%3E%40Ivo%20Essenberg%3C%2FA%3E%26nbsp%3BYou%20can%20add%20a%20proxy%20address%20to%20the%20Unified%20Group%20%2FOffice%20365%20Group%20and%20then%20set%20the%20new%20email%20address%20as%20the%20primary%20email%20address.%20This%20will%20change%20the%20email%20address%20associated%20with%20the%20group.%20This%20might%20not%20modify%20the%20URL%20of%20SPO%20although.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3E%3CSPAN%3EFor%20this%20connect%20to%20EXO%20PowerShell%20and%20run%20the%20below%20command%20to%20add%20required%20SMTP%20as%20an%20alias.%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3ESet-UnifiedGroup%20-Identity%20%22abc%40contoso.com%22%20-EmailAddresses%3A%20%40%7BAdd%20%3D%22xyz%40contoso.com%22%7D%20where%20abc%40contoso.com%20is%20the%20email%20address%20of%20the%20Office%20365%20group%20and%20xyz%40contoso.com%20is%20the%20required%20Email%20ID.%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EPromote%20alias%20as%20a%20primary%20SMTP%20address%2C%3C%2FSTRONG%3E%20Set-UnifiedGroup%20-Identity%20%22Test%20O365Group%22%20-PrimarySmtpAddress%20%22xyz%40contoso.com%22%3C%2FLI%3E%3CLI%3E%3CSPAN%3E%3CSTRONG%3EIf%26nbsp%3Bnot%20required%2C%20you%20can%20remove%20the%20first%20ID%20using%20below%20command.%3C%2FSTRONG%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3ESet-UnifiedGroup%20-Identity%20%22%3CSPAN%3Exyz%40contoso.com%3C%2FSPAN%3E%3CSPAN%3E%22%20-EmailAddresses%3A%20%40%7BRemove%3D%22abc%40contoso.com%22%7D%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%3EPlease%20note%2C%20For%20updating%20the%20Office%20365%20group%20SMTP%20address%20required%20Global%20Administrator%20access.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Ivo Essenberg
Occasional Contributor

Hi all,

 

I tried to search to see if anyone had already asked, but did not find any answers.

 

Today, I renamed one of my O365 Groups, but found the experience to be underwhelming:

- No option to change the associated email address

- The OneDrive associated to the group does not get renamed, nor is there an option to do so

 

Are there any plans in the making to improve the remaning experience? Just renaming the group is likely to create confusion. I do understand the complexity of ensuring that a new email address, or OneDrive name is not already in use, but maybe offering the option to make the change manually, and thus have a check against existing names could work.

 

Thanks in advance for any information anyone can share.

 

Ivo

21 Replies

You need to use PowerShell to change group email address.

Set-UnifiedGroup –Identity <GroupName> –PrimarySmtpAddress <newemail@onmicrosoft.com>

I have tested OneDrive associated to the group rename and it gets renamed properly. Rename took some time to reflect in OneDrive. 

To add to this issue: when a naming policy is defined, and you rename the group then the naming policy suffixes can be changed as well. What happens if you save the name change: it adds again the pre- and suffixes!

So if a group admin decides to change the pre- and suffixes with the name change then the policy will be re-applied as well and if the admin changes the original given name (and leaves the suffix and prefix) then the naming policy is reapplied and you will get double pre- and postfixes!
There is already a suggestion on uservoice to make the renaming of emailaddress possible as well at https://office365.uservoice.com/forums/286611-office-365-groups/suggestions/15585969-improve-the-ren...

 

I added a suggestion to improve the rename with naming policy as well: https://office365.uservoice.com/forums/286611-office-365-groups/suggestions/15586377-renaming-groups...

 

It should be possible to rename the mailaddress throught the UI, since renaming of the name is possible for end users as well. Although renaming of the mail address with Powershell can be done, it is not a feasible solution when you have a lot of groups in your tenant (e.g. schools). The rename should ideally also check for renaming the mailaddress throught the UI.

Hi Santosh,

 

The display name does change, but not the root name in the URL.

 

Ivo

Highlighted

The root name in url will not change. 

I took a peak at the Site Page that goes with the group:

https://TENANT.sharepoint.com/sites/GROUPNAME/SitePages/Home.aspx

 

Not only is the URL not changing but on the Site Page the Group still retains the old Group Name, probably picking up from the URL. So renaming now is only partly done, even on the User Interface.

 

I'm scared to Delete the Group and try and re-create it with the correct name, I suspect the correct name is now "taken" by the rename?

 

Rob.

You are correct. When you rename the group from Groups UI it will only update the Group's display name and none other changed. So you can delete the group and create new one with the correct name. Please be aware that when you delete group using Power Shell it will not delete the hidden site collection. So it is recommended to delete it from Group UI.

That is unfortunate, I hope not a permanent situation. We started using a Group and then realized we wanted to expand it, so there are a bunch of files and emails, so Deleting the group and starting over is not an option we want to persue.

Rob.

Santhosh,

We have a group that was created and have decided to change it to a shared mailbox or back to a DL.  We need to be able to re-use the SMTP address associated with the Group.  What are your recommendations?

Is set-unifiedGroup -PrimarySMTPAddress suffice? 

hi, along with set-unifiedGroup -Identity <GroupName> -PrimarySMTPAddress <new email address>, you need to use set-unifiedGroup -Identity <GroupName> -EmailAddress SMTP:<newemailaddress> as this will remove the old email address from Office365 Group identity so you can reuse it. 

Is it possible to use a distribution list as the primary SMTP? I can change the email in PowerShell to a new email but it will not let me change it to the address associated with a DL.

Santhosh do you think this will be corrected in the future ? Is there a uservoice for this?

Our use case is that we often start work on preliminary projects and cannot give them a project number until they have been added to our 3rd party PM system. All of our project groups have the proj number attached to the name. Ideally we would rename the group rather than destroy the document revision history by downloading the library and reuploading to a new site.
Not sure when MSFT will improve this. But here is the user voice link for this feature.
https://office365.uservoice.com/forums/286611-office-365-groups/suggestions/15585969-improve-the-ren...
Can someone clear up some questing I have on naming groups? We want to roll out Office 35 Groups in our organization but need to define our Governance in how these are named and found in our GAL, etc. There are a few fields that seem to define a group name but the PowerShell documentation isn't specifically clear on what difference there is between a "name" "identity" "displayName" and "alias". We also need a prefix to be appended to the name for the GAL but I don't want that Prefix to show up in Outlook or OWA on the group list for users. Where exactly do these group names show up and how can I best plan to use these parameters in Powershell when creating the groups. Too many options are not exposed in the GUI to make group creation in the enterprise worth doing at this time.
This worked for the first group I tried, but the second and third came back with "We failed to update the unified group. Please try again later"

Any ideas?

Hi, is there anyway to do this in mac ? as far as i know powershell only available in windows,

Thankyou

Hi Mario,

 

You can install PowerShell on Mac from here, but at least on Dec 2017 there were still many issues with connecting to O365 from a Mac. More on this from here.

 

If you're managing Exchange Online, that seems to be possible from a Mac.

 

Kris

Hi,

 

I used the command syntax

set-unifiedGroup -Identity <GroupName> -EmailAddress SMTP:<newemailaddress>

This is what my Attribute "EmailAddresses" looked before (slightly changed content):

EmailAddresses : {SPO:SPO_0affa9c4-1111-2222-3333-162e4873a42e@SPO_89617050-2222-1111-3333-cb7206607595,
smtp:TestingMSTeams@mydomain.onmicrosoft.com, SMTP:TestingMSTeams@domain.me}

After running the command without failures, the attribute contents look same but the SPO: part is missing. Is this critical or can I proceed on using my Group without any problems now?

After running the command:

EmailAddresses : {smtp:TestingMSTeams@mydomain.onmicrosoft.com, smtp:TestingMSTeams@domain.me,
SMTP:TestingMSTeams2@pia.me}

 

Appreciate your feedback

 

You would start with this command as noted above:
Set-UnifiedGroup -Identity <GroupName> -PrimarySMTPAddress <NewEmailAddress>


Then the correct command to remove the old address to free it up:
Set-UnifiedGroup -Identity <GroupName> -EmailAddresses @{remove=”<NewEmailAddress>”}


You can also rename the Alias:
Set-UnifiedGroup -Identity <GroupName> -Alias <NewAlias>

I'd imagine you could add your SPO record back with:
Set-UnifiedGroup -Identity <GroupName> -EmailAddresses @{add=”<SPO:SPO_*>”}
The SPO record has to do with SharePoint Online.



@Ivo Essenberg You can add a proxy address to the Unified Group /Office 365 Group and then set the new email address as the primary email address. This will change the email address associated with the group. This might not modify the URL of SPO although. 

 

  1. For this connect to EXO PowerShell and run the below command to add required SMTP as an alias. 
  2. Set-UnifiedGroup -Identity "abc@contoso.com" -EmailAddresses: @{Add ="xyz@contoso.com"} where abc@contoso.com is the email address of the Office 365 group and xyz@contoso.com is the required Email ID.
  3. Promote alias as a primary SMTP address, Set-UnifiedGroup -Identity "Test O365Group" -PrimarySmtpAddress "xyz@contoso.com"
  4. If not required, you can remove the first ID using below command.  Set-UnifiedGroup -Identity "xyz@contoso.com" -EmailAddresses: @{Remove="abc@contoso.com"}

Please note, For updating the Office 365 group SMTP address required Global Administrator access.

 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies