Forum Discussion
New sites have numbers at end of URL - how to cleanup?
I'm created some new group enabled sites using the new-pnpsite cmdlet. When they got created, the site urls have numbers at the end, here is an example:
https://tenant.sharepoint.com/teams/oao16
We previously had an OAO group, which was deleted on 12/7 (3 days ago). When I deleted it, I was warned that it could take up to 24 hours for the cleanup jobs to run, so I waited longer than that to be safe but I still ran into this problem. I'm guessing that the jobs have not really completed, and that the numbers got stuck on the end automatically to prevent a URL conflict, but I'm not sure about this.
Has anyone else seen anything like this?
Any suggestions on how to fix this would be appreciated.
- Deleted groups are held for 30 days. See https://support.office.com/en-us/article/Restore-a-deleted-Office-365-Group-b7c66b59-657a-4e1a-8aa0-8163b1f4eb54 for how to permanently remove a group. Then the URL should become available after a little while.
19 Replies
- Mikael SvensonSteel ContributorDeleted groups are held for 30 days. See https://support.office.com/en-us/article/Restore-a-deleted-Office-365-Group-b7c66b59-657a-4e1a-8aa0-8163b1f4eb54 for how to permanently remove a group. Then the URL should become available after a little while.
- Dean_GrossSilver Contributor
Once again, you have given me a great answer :). Thank you very much, the message that was provided in the UI did not provide any clue that this was how it worked
- DeletedThat will not release the URL you still have to manually delete the SharePoint site afterward via powerhell since for whatever reason the group process doesn’t.
- DeletedThese sites never seem to go away. They might be tied to one drive retention or something but you have to manually delete the Sharepoint site via power shell to get it to go away after deleting the group. When I get back to a computer I’ll find the commands unless you do or someone beats me too it :p.