"The query string "siteUrl" is missing or invalid" when trying to delete Sharepoint

Gonzalez, Andrea 0 Reputation points
2023-07-28T13:56:31.5033333+00:00

I haven't been able to delete the sharepoint due to this error. Does anyone know how I can fix this?

User's image

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,694 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,856 Reputation points
    2023-07-31T06:33:29.8366667+00:00

    Hi Gonzalez, Andrea, welcome to the forum!

    It is a pleasure to be able to help you.

    We tested this issue in our environment, and it works fine.

    You can refer to the following steps:

    1.Go to Settings >> Site information.

    User's image

    2.Click Delete site.

    User's image

    User's image

    If the issue persists, you can also choose to delete the site in the admin center. Please refer to below steps:

    1.Go to the admin center with URL https://{tenant}-admin.sharepoint.com/

    (Here {tenant} needs to be changed to your tenant's name.) And this requires a SharePoint / Global administrator account to sign in.

    User's image

    2.Click Active sites, search the site that you want to delete and click it.

    User's image

    User's image

    2.Click Delete.

    User's image

    User's image

    Hope this helps.

    Best Regards.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Helen Barry 0 Reputation points
    2023-10-19T04:44:53.1533333+00:00

    I have the same problem. When I go into the admin centre and delete the site. I go back to my SharePoint and the site appears on the list. Clicking on the site gives me a 404 error

    0 comments No comments

  3. Helen Barry 0 Reputation points
    2023-10-19T04:48:23.34+00:00

    User's image

    This appears for the site deleted through the admin and also for a test site that I deleted in the usual fashion. the sites are not disappearing from the site list.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.