SOLVED

Reusing a Deleted SharePoint Site Name

%3CLINGO-SUB%20id%3D%22lingo-sub-201148%22%20slang%3D%22en-US%22%3EReusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201148%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EQUESTION%3A%3C%2FSTRONG%3E%20Can%20a%20new%20site%20be%20created%20with%26nbsp%3Bthe%20same%20name%20of%20a%20deleted%20site%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ESCENARIO%3A%3C%2FSTRONG%3E%20Today%20I%20deleted%20a%20SharePoint%20Team%20Site%20(O365)%20that%20I%20created%20yesterday.%20Now%20I%20want%20to%20create%20a%20SharePoint%20Communications%20Site%20with%20the%20same%20URL%20(name)%20as%20the%20SharePoint%20Team%20Site%20that%20I%20deleted.%20(For%20example%3A%20%3CSPAN%20class%3D%22ms-font-s%22%3E%3CFONT%20size%3D%222%22%3E%3CA%20href%3D%22https%3A%2F%2Fcompany365.sharepoint.com%2Fsites%2FCompanyNews%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcompany365.sharepoint.com%2Fsites%2FCompanyNews%3C%2FA%3E%3C%2FFONT%3E%3C%2FSPAN%3E)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EISSUE%3A%3C%2FSTRONG%3E%20I%20tried%20creating%20it%20but%20it%20placed%20a%20%222%22%20after%20the%20site%20name%20in%20the%20URL%20(For%20example%3A%20%3CSPAN%20class%3D%22ms-font-s%22%3E%3CFONT%20size%3D%222%22%3E%3CA%20href%3D%22https%3A%2F%2Fcompany365.sharepoint.com%2Fsites%2FCompanyNews%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcompany365.sharepoint.com%2Fsites%2FCompanyNews%3C%2FA%3E%3CSTRONG%3E2%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FSPAN%3E).%20I%20will%20try%20deleting%20the%20site%20via%20Powershell%20since%20I%20only%20deleted%20the%20site%20by%20going%20to%20Site%20Information%26nbsp%3B%26gt%3B%20Delete%20Site.%26nbsp%3B%20I%20just%20wonder%20if%20the%20name%20will%20then%20become%20available.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20thoughts%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-201148%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201355%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201355%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20taking%20the%20time%20to%20reply!%20This%20worked%20perfectly!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201354%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201354%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20so%20much!%20This%20was%20invaluable%20feedback!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201297%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201297%22%20slang%3D%22en-US%22%3E%3CP%3ESimilarly%2C%20you%20can%20permanently%20remove%20the%26nbsp%3Bdeleted%26nbsp%3Bsite%20using%26nbsp%3B%26nbsp%3B%3CSTRONG%3ERemove-SPODeletedSite%3C%2FSTRONG%3E%20cmdlet.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201192%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201192%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7440%22%20target%3D%22_blank%22%3E%40Dayna%20Lovelady%3C%2FA%3E%26nbsp%3BAfter%20manually%20deleting%20the%20site%20collection%2C%20the%20site%20collection%20will%20be%20at%20Tenant%20Recycle%20bin%20but%20you%20willn't%20be%20able%20to%20delete%20manually.%20You%20can%20use%20below%20commandlet%20to%20delete%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EClear-PnPTenantRecycleBinItem%20-url%26nbsp%3B%20%26lt%3B%3CA%20href%3D%22https%3A%2F%2Fspjourney.sharepoint.com%2Fsites%2Fcompanynews%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fspjourney.sharepoint.com%2Fsites%2Fcompanynews%3C%2FA%3E%26gt%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20you%20delete%20from%20RecycleBin%20then%20the%20URL%20will%20be%20available.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-522683%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-522683%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3058%22%20target%3D%22_blank%22%3E%40Manidurai%20Mohanamariappan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20have%20to%20wait%20any%20length%20of%20time%20to%20be%20able%20to%20reuse%20the%20URL%3F%20I've%20removed%20a%20site%20using%20the%20%3CSTRONG%3ERemove-SPODeletedSite%26nbsp%3B%3C%2FSTRONG%3Ecommand%20but%20it%20still%20wants%20to%20create%20a%20URL%20with%20a%202%20on%20the%20end.%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20was%20a%20classic%20site%2C%20I%20removed%20it%2C%20waited%2029%20days%20for%20it%20to%20disappear.%20Saw%20it%20in%20the%20recycle%20bin%20on%20the%20NEW%20SharePoint%20Admin%20centre%2C%20deleted%20it%20from%20there%2C%20then%20ran%20the%26nbsp%3B%3CSTRONG%3ERemove-SPODeletedSite%3C%2FSTRONG%3E%20command.%20It%20is%20gone.%20I%20can't%20find%20it%20anywhere%20but%20when%20I%20try%20to%20create%20the%20site%20again%20(in%20a%20Modern%20stylie)%2C%20it%20puts%20a%202%20on%20the%20end.%3C%2FP%3E%3CP%3EHence%20my%20question.%20To%20I%20have%20to%20wait%20a%20certain%20length%20of%20time.%3C%2FP%3E%3CP%3EPeter%3C%2FP%3E%3CP%3EI'm%20a%20SharePoint%20Admin%20only%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-523250%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-523250%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F290427%22%20target%3D%22_blank%22%3E%40Peter_Morris%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20checked%20my%20tenant%20is%20working%20fine%2C%20so%20i%20can%20able%20to%20create%20new%20site%20with%20old%20name%20with%20in%202%20minutes.%20can%20you%20please%20check%26nbsp%3BGet-SPODeletedSite%20it%20will%26nbsp%3Br%3CSPAN%3Eeturns%20all%20deleted%20site%20collections%20from%20the%20Recycle%20Bin.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-543779%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-543779%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3058%22%20target%3D%22_blank%22%3E%40Manidurai%20Mohanamariappan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAmazing.%20I%20tried%20it%20this%20morning.%20ITS2%20was%20the%20site%20it%20tried%20to%20recreate.%20I%20then%20started%20to%20gather%20all%20the%20data%20for%20you%20and%20I%20can%20now%20create%20an%20ITS%20site.%20Something%20happened.%20No%20idea%20what.%3C%2FP%3E%3CP%3ESo%20thanks%20for%20the%20magic.%20Much%20appreciated.%3C%2FP%3E%3CP%3EPeter%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-543913%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-543913%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3058%22%20target%3D%22_blank%22%3E%40Manidurai%20Mohanamariappan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20This%20morning%20it%20tried%20to%20give%20me%20an%20ITS2%20site%20when%20I%20wanted%20an%20ITS%20site.%20As%20I%20was%20gathering%20information%20for%20you%20it%20allowed%20the%20ITS%20site%20but%20when%20I%20tried%20to%20save%20it%2C%20I%20got%20a%20%22group%22%20already%20exists.%20I%20suspect%20it's%20Office365.%3C%2FP%3E%3CP%3ESee%20screenshots%20attached%2Fbelow.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-543951%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-543951%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F290427%22%20target%3D%22_blank%22%3E%40Peter_Morris%3C%2FA%3E%26nbsp%3BIn%20Office%20365%2C%20if%20there%20is%20an%20exchange%20group%20(also%20called%20Office%20365%20Group)%20already%20existing%20with%20name%26nbsp%3B%3CSTRONG%3EITS%3C%2FSTRONG%3E%2C%20then%20creation%20of%20any%20SharePoint%20site%2FTeams%20with%20same%20name%20appends%20'2'%20in%20the%20URL%20(like%26nbsp%3B%3CSTRONG%3E%2FITS2%2F).%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20because%2C%20creating%20any%20Office%20365%20Group%20thru%20exchange%20(outlook)%20OR%20Teams%20will%20auto-create%20a%20SharePoint%20site%20in%20Office%20365.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-544530%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-544530%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F287320%22%20target%3D%22_blank%22%3E%40ellan1537%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20this.%20I'd%20guessed%20it%20would%20be%20an%20O365%20group%20causing%20it%20issues.%20Will%20look%20into%20how%20to%20remove%20that%20now.%20Got%20our%20O365%20Admin%20to%20have%20a%20go%20but%20it%20hasn't%20worked%20so%20far.%20Might%20be%20more%20work%20involved.%3C%2FP%3E%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-652102%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-652102%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7440%22%20target%3D%22_blank%22%3E%40Dayna%20Lovelady%3C%2FA%3E%26nbsp%3Byou%20can%20now%20accomplish%20this%20by%20going%20into%20the%20new%20modern%20SharePoint%20admin%20center%2C%20go%20to%20the%20DELETED%20SITES%20section%2C%20find%20the%20site%20you%20want%2C%20check%20it%20then%20go%20to%20PERMANENTLY%20DELETE.%20The%20site%20will%20be%20gone.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-854728%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-854728%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20appears%20to%20still%20be%20an%20issue.%20I%20deleted%20a%20site%20and%20am%20looking%20to%20recreate%20with%20a%20different%20template.%20the%20Get-SPODeletedSites%20commandlet%20comes%20back%20clear%20with%20no%20deleted%20sites%20found.%20the%20site%20does%20not%20show%20in%20the%20Get-SPOSites%20either.%26nbsp%3B%20The%20site%20was%20deleted%20and%20removed%20in%20PowerShell.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETrying%20to%20recreate%20the%20site%20it%20allows%20the%20same%20site%20name%20but%20puts%20a%202%20on%20the%20site%20name%20for%20the%20URL.%26nbsp%3B%20Is%20there%20a%20database%20that%20needs%20cleared%20for%20the%20URL%20to%20be%20reused%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-856918%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-856918%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F142912%22%20target%3D%22_blank%22%3E%40Tim%20Miller%3C%2FA%3E%26nbsp%3BSounds%20like%20you%20are%20having%20the%20same%20issue%20I%20was%20except%20I%20used%20the%20Central%20Admin%20console.%20My%20understanding%20is%20if%20you%20delete%20a%20site%20it%20goes%20into%20the%20site%20administration%20recycle%20bin%20where%20it%20sits%20for%2030%20days.%20You%20can%20force%20it%20to%20delete%20which%20would%20free%20up%20the%20old%20URL%20to%20be%20reused%20but%20it%20sounds%20like%20it%20is%20still%20in%20your%20site%20collection%20recycle%20bin%20but%20you%20aren't%20seeing%20it.%20Wondering%20if%20it%20is%20still%20a%20problem%20or%20if%20it%20cleared%20after%20some%20time%3F%20If%20you%20go%20into%20the%20Central%20admin%20and%20go%20to%20deleted%20sites%20do%20you%20see%20anything%20there%3F%20My%20understanding%20is%20once%20it's%20cleared%20from%20that%20site%20admin%20recycle%20bin%20that's%20it%2C%20it%20should%20be%20clear.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-859486%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-859486%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F350041%22%20target%3D%22_blank%22%3E%40jfranz%3C%2FA%3E%26nbsp%3BI%20have%20used%20both%20powershell%20and%20admin%20console.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20PowerShell%20running%20Get-SPOSite%20and%20Get-SPODeletedSite%2C%20both%20outputs%20do%20not%20have%20the%20site%20listed%20so%20there%20is%20nothing%20to%20Remove-SPODeletedSite%20on.%26nbsp%3B%20I%20have%20also%20tried%20the%20Clear-PnPTenantRecycleBin%20wich%20came%20up%20with%20nothing%20as%20well.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20Admin%20console%20the%20site%20does%20not%20show%20in%20the%20active%20or%20deleted%20sites%20lists.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eto%20the%20best%20i%20can%20see%20the%20site%20is%20deleted%20and%20gone%20but%20I%20still%20get%20the%20%222%22%20on%20the%20URL%20when%20recreating%20the%20site.%26nbsp%3B%20is%20there%20a%20database%20that%20the%20URL%20is%20stored%20in%20and%20a%20PS%20command%20to%20remove%20it%20maybe%3F%20im%20at%20a%20loss%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-861434%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-861434%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F142912%22%20target%3D%22_blank%22%3E%40Tim%20Miller%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20got%20the%20same%20problem%2C%20has%20anyone%20found%20an%20answer%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-898025%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-898025%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3471%22%20target%3D%22_blank%22%3E%40Paul%20Mathanarajah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20use%20PNP%20provisionning%20to%20recreate%20your%20site%20with%20the%20URL%20you%20want.%20See%20more%20info%26nbsp%3B%40%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fsolution-guidance%2Fmodern-experience-customizations-provisioning-sites%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fsolution-guidance%2Fmodern-experience-customizations-provisioning-sites%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20tried%20it%20and%20worked%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1167679%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1167679%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F421627%22%20target%3D%22_blank%22%3E%40LogicElite%3C%2FA%3E%26nbsp%3BI%20was%20having%20the%20same%20issue.%20Created%20the%20site%20with%20same%20URL%20using%20SPO%20PowerShell%20New-SPOSite%20and%20it%20worked.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1577714%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1577714%22%20slang%3D%22en-US%22%3E%3CP%3EI%20also%20suffered%20this%20pain%20and%20this%20is%20how%20you%20fix%20it...%3CBR%20%2F%3E%3CBR%20%2F%3EConnect-SPOService%20-Url%20%22%3CA%20href%3D%22https%3A%2F%2FYOURDOMAINNAME-admin.sharepoint.com%2F_layouts%2F15%2Fsharepoint.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FYOURDOMAINNAME-admin.sharepoint.com%2F_layouts%2F15%2Fsharepoint.aspx%3C%2FA%3E%22%20-credential%20%3CA%20href%3D%22mailto%3AYOURUSERNAME%40YOURDOMAIN%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EYOURUSERNAME%40YOURDOMAIN%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EGet-SPODeletedsite%20(this%20will%20return%20any%20old%20deleted%20URLs)%3CBR%20%2F%3E%3CBR%20%2F%3ERemove-SPODeletedSite%20-Identity%20%22COPY%20YOUR%20URL%20HERE%22%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20may%20need%20to%20be%20a%20Global%20Admin%3C%2FP%3E%3CP%3E%26nbsp%3B%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-1728127%22%20slang%3D%22en-US%22%3ERe%3A%20Reusing%20a%20Deleted%20SharePoint%20Site%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1728127%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F142912%22%20target%3D%22_blank%22%3E%40Tim%20Miller%3C%2FA%3E%26nbsp%3B%2C%20I%20was%20having%20the%20same%20issue.%20It%20turned%20out%20it%20was%20a%20lingering%20Redirect%20that%20was%20holding%20onto%20the%20URL%20I%20wanted.%20This%20was%20most%20likely%20caused%20by%20me%20renaming%20the%20site%20before%20the%20deletion%20in%20an%20attempt%20to%20free%20the%20original%20name.%3CBR%20%2F%3EI%20discovered%20this%20by%20going%20to%20the%20desired%20site%20in%20the%20browser%20and%20noticing%20that%20it%20Redirected%20me%20to%20the%20now%20deleted%20site.%3CBR%20%2F%3EThe%3CBR%20%2F%3ERemove-SPOSite%20-Identity%26nbsp%3B%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcontoso.sharepoint.com%2Fsites%2FDesiredSiteName%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcontoso.sharepoint.com%2Fsites%2FDesiredSiteName%3C%2FA%3E%3CBR%20%2F%3E%3C%2FSPAN%3Ecommand%20can%20be%20used%20to%20remove%20the%20Redirect.%20Note%20that%20I%20don't%20believe%20that%20site%20will%20appear%20in%20the%20list%20of%20Get-SPOSite.%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%20class%3D%22hljs-pscommand%22%3EGet-SPOSite%3C%2FSPAN%3E%3CSPAN%20class%3D%22hljs-parameter%22%3E%20-Template%3C%2FSPAN%3E%3CSPAN%3E%20REDIRECTSITE%3C%2FSPAN%3E%3CSPAN%20class%3D%22hljs-comment%22%3E%230%3C%2FSPAN%3E%3CBR%20%2F%3Ewill%20probably%20show%20you%20the%20redirect%2C%20unfortunately%20I%20only%20tried%20this%20after%20I'd%20already%20deleted%20it.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fmanage-site-redirects%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fmanage-site-redirects%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20command%3CBR%20%2F%3ERemove-AzureADMSDeletedDirectoryObject%20-%20to%20purge%20a%20Deleted%20Group%3CBR%20%2F%3Emay%20also%20be%20useful%20to%20others%20who%20find%20this%20thread%20as%20it's%20good%20to%20delete%20the%20sharepoint%20and%20the%20group%20before%20re-creating%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

QUESTION: Can a new site be created with the same name of a deleted site?

 

SCENARIO: Today I deleted a SharePoint Team Site (O365) that I created yesterday. Now I want to create a SharePoint Communications Site with the same URL (name) as the SharePoint Team Site that I deleted. (For example: https://company365.sharepoint.com/sites/CompanyNews)

 

ISSUE: I tried creating it but it placed a "2" after the site name in the URL (For example: https://company365.sharepoint.com/sites/CompanyNews2). I will try deleting the site via Powershell since I only deleted the site by going to Site Information > Delete Site.  I just wonder if the name will then become available.

 

Any thoughts?

18 Replies

@Dayna Lovelady After manually deleting the site collection, the site collection will be at Tenant Recycle bin but you willn't be able to delete manually. You can use below commandlet to delete it.

 

Clear-PnPTenantRecycleBinItem -url  <https://spjourney.sharepoint.com/sites/companynews>

 

Once you delete from RecycleBin then the URL will be available.

 

 

 

Best Response confirmed by Dayna Lovelady (Occasional Contributor)
Solution

Similarly, you can permanently remove the deleted site using  Remove-SPODeletedSite cmdlet.

Thank you so much! This was invaluable feedback!

Thank you for taking the time to reply! This worked perfectly!!!

@Manidurai Mohanamariappan 

Do you have to wait any length of time to be able to reuse the URL? I've removed a site using the Remove-SPODeletedSite command but it still wants to create a URL with a 2 on the end. 

It was a classic site, I removed it, waited 29 days for it to disappear. Saw it in the recycle bin on the NEW SharePoint Admin centre, deleted it from there, then ran the Remove-SPODeletedSite command. It is gone. I can't find it anywhere but when I try to create the site again (in a Modern stylie), it puts a 2 on the end.

Hence my question. To I have to wait a certain length of time.

Peter

I'm a SharePoint Admin only

 

@Peter_Morris 

I have checked my tenant is working fine, so i can able to create new site with old name with in 2 minutes. can you please check Get-SPODeletedSite it will returns all deleted site collections from the Recycle Bin.

@Manidurai Mohanamariappan 

So This morning it tried to give me an ITS2 site when I wanted an ITS site. As I was gathering information for you it allowed the ITS site but when I tried to save it, I got a "group" already exists. I suspect it's Office365.

See screenshots attached/below. 

@Peter_Morris In Office 365, if there is an exchange group (also called Office 365 Group) already existing with name ITS, then creation of any SharePoint site/Teams with same name appends '2' in the URL (like /ITS2/).

 

This is because, creating any Office 365 Group thru exchange (outlook) OR Teams will auto-create a SharePoint site in Office 365.

@ellan1537 

Thanks for this. I'd guessed it would be an O365 group causing it issues. Will look into how to remove that now. Got our O365 Admin to have a go but it hasn't worked so far. Might be more work involved.

Peter

@Dayna Lovelady you can now accomplish this by going into the new modern SharePoint admin center, go to the DELETED SITES section, find the site you want, check it then go to PERMANENTLY DELETE. The site will be gone. 

This appears to still be an issue. I deleted a site and am looking to recreate with a different template. the Get-SPODeletedSites commandlet comes back clear with no deleted sites found. the site does not show in the Get-SPOSites either.  The site was deleted and removed in PowerShell. 

 

Trying to recreate the site it allows the same site name but puts a 2 on the site name for the URL.  Is there a database that needs cleared for the URL to be reused? 

@Tim Miller Sounds like you are having the same issue I was except I used the Central Admin console. My understanding is if you delete a site it goes into the site administration recycle bin where it sits for 30 days. You can force it to delete which would free up the old URL to be reused but it sounds like it is still in your site collection recycle bin but you aren't seeing it. Wondering if it is still a problem or if it cleared after some time? If you go into the Central admin and go to deleted sites do you see anything there? My understanding is once it's cleared from that site admin recycle bin that's it, it should be clear. 

@jfranz I have used both powershell and admin console. 

 

In PowerShell running Get-SPOSite and Get-SPODeletedSite, both outputs do not have the site listed so there is nothing to Remove-SPODeletedSite on.  I have also tried the Clear-PnPTenantRecycleBin wich came up with nothing as well. 

 

In the Admin console the site does not show in the active or deleted sites lists. 

 

to the best i can see the site is deleted and gone but I still get the "2" on the URL when recreating the site.  is there a database that the URL is stored in and a PS command to remove it maybe? im at a loss

@Tim Miller 

 

I've got the same problem, has anyone found an answer?

 

Thanks

@PMLIO 

 

Just use PNP provisionning to recreate your site with the URL you want. See more info @ https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-p...

 

I just tried it and worked well.

@LogicElite I was having the same issue. Created the site with same URL using SPO PowerShell New-SPOSite and it worked.

I also suffered this pain and this is how you fix it...

Connect-SPOService -Url "https://YOURDOMAINNAME-admin.sharepoint.com/_layouts/15/sharepoint.aspx" -credential YOURUSERNAME@YOURDOMAIN

Get-SPODeletedsite (this will return any old deleted URLs)

Remove-SPODeletedSite -Identity "COPY YOUR URL HERE"

You may need to be a Global Admin

 

 

 

 

@Tim Miller , I was having the same issue. It turned out it was a lingering Redirect that was holding onto the URL I wanted. This was most likely caused by me renaming the site before the deletion in an attempt to free the original name.
I discovered this by going to the desired site in the browser and noticing that it Redirected me to the now deleted site.
The
Remove-SPOSite -Identity https://contoso.sharepoint.com/sites/DesiredSiteName
command can be used to remove the Redirect. Note that I don't believe that site will appear in the list of Get-SPOSite. 
Get-SPOSite -Template REDIRECTSITE#0
will probably show you the redirect, unfortunately I only tried this after I'd already deleted it.
https://docs.microsoft.com/en-us/sharepoint/manage-site-redirects

The command
Remove-AzureADMSDeletedDirectoryObject - to purge a Deleted Group
may also be useful to others who find this thread as it's good to delete the sharepoint and the group before re-creating