Share via

Sharepoint error 403

Anonymous
2018-01-12T02:04:00+00:00

Hi,

I have deleted a sharepoint site which still appears at https://<domain>/_layouts/15/sharepoint.aspx but when I click on it I get a 403 error.

Also, I had recreate a site with the same name as I thought it was just taking time to delete the first one but it now exists as https://<domain>.sharepoint.com/sites/[name2] - whenever I click "site information" to delete this one, "edit site information" is just loading for ever.

I would just like to start to scratch and delete all sharepoint sites

Many thanks

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-01-12T04:22:19+00:00

Hi CyrilTP,

After you click Site information in settings(gear)>click View all site settings>under Site Actions>click Delete this site>confirm the information>click Delete.

If you still cannot delete your sites, you can try using related cmdlets with SharePoint Management Shell.

1.Download and install the SharePoint Online Management Shell.

1)type connect-sposervice to connect to SharePoint online.

2)type the URL of your SharePoint admin center which is like https://tenant-admin.sharepoint.com

3)sign in your Office 365 account.

2.run the commands:    Get-SPOSite

It will return all site collections you have.

3.run Remove-SPOSite

Note: Remove-SPOSite cmdlet does not delete a site collection from the site collections list permanently, the removed site collection is moved to the Recycle Bin. If you want to delete a site collection permanently, you can run Remove-SPODeletedSite cmdlet.

For your reference:

 

After the sites are deleted, check if the deleted site still exist in SharePoint online.

Regards,

Tina

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-01-13T11:05:47+00:00

    Hi CyrilTP,

    Thanks for your detailed information.

    For the affected site, you mentioned it does not show when running get-sposite and gives 404 error, we'd like to explain that the site has been deleted and it is expected that it will show 404 not found error.

    If the site still appears in SharePoint online, we suggest you sign out Office 365 and clear the cache for the browser or change another web browser, sign in Office 365 again, check if the deleted site disappears.

    If the site still appears on your mobile device, please sign out OneDrive app, then sign in to check the outcome. Or go to Settings>reset/remove credentials, then sign in OneDrive to check the outcome.

    You mentioned the deleted site appears in https://<domain>.sharepoint.com/_layouts/15/sharepoint.aspx.

    It is SharePoint home page. SharePoint home page shows the sites which you have followed and visit recently and frequently. If you followed the site before, please click the star menu next to the site and choose to stop following it.

    Please note that we cannot customize the Frequent sites list showing in SharePoint home page.

    Regarding "how can I show the Team Site integrated within OneDrive? ", if you want to see your Team Site in OneDrive for Business, you can refer to the screenshot below, the sites list under Recycle bin are the sites you visit frequently, you can click More sites to check the detailed situation.

    These frequent sits are the same as the sites showing in SharePoint Home page.

    Regarding "I have also noticed that some Onenote notebooks still exist from groups that have been deleted... This is honestly very frustrating, I subscribed yesterday and there are multiple issues with Groups/Sharepoint sites like this one…",

    As we mainly focus on one issue in one thread, to ensure you get best support, we suggest you post a new thread in our forum.

    Then, we can focus on it to provide corresponding troubleshooting steps. Moreover, doing that will help other users experiencing the same issue seek out the thread more quickly.

    Thanks for your understanding.

    Regards,

    Tina

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-01-12T13:35:54+00:00

    The corrupt website does not appear with get-sposite or get-spodeletedsite anymore as I have tried to delete it with remove-sposite and remove-spodeletedsite. However, it still appears in various places such as OneDrive and https://<domain>.sharepoint.com/_layouts/15/sharepoint.aspx

    Edit: I have also noticed that some Onenote notebooks still exist from groups that have been deleted... This is honestly very frustrating, I subscribed yesterday and there are multiple issues with Groups/Sharepoint sites like this one...

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-01-12T12:15:35+00:00

    Hi Tina,

    I will try to recap the current situation and my problems following these instructions

    1) https://<domain>.sharepoint.com/sites/[name2]  does not exist anymore and does not appear anywhere, so that is fixed

    1. However, the site that was giving me a 403 error still appears and now shows a 404 error.  It does not appear with Get-SPOSite 
    2. I had deleted this site because I have discovered the Team Site, which is at the standard https://<domain>.sharepoint.com/SitePages/Home.aspx - this is the only one I would like to keep
    3. OneDrive, both on mobile and on the web version down the site I am trying to delete https://<domain>.sharepoint.com/sites/<name> - how can I show the Team Site integrated within OneDrive? (this will basically be the shared file location for my company). On my desktop, I managed to have drive with files from this Team Site (which is in C:/Users/Me/<domain>, so separate from OneDrive, which is fine

    Many thanks for your help

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-01-12T04:30:54+00:00

    Thanks Tina, the error 403 is now replaced by error 404 and the site still appears on sharepoint

    thanks

    Was this answer helpful?

    0 comments No comments