qosawest.blogg.se

Restore deleted onenote page
Restore deleted onenote page








restore deleted onenote page

Now, unless you use PowerShell regularly, chances are, you’re better off using the first method I described earlier. There is also another code where you can sniff out all the deleted sites: #Get All Deleted Sites Write-host -f Yellow "Could not Find Deleted site:"$DeletedSiteURL Write-Host -f Green "Site Collection '$DeletedSiteURL' Restored Successfully!" Restore-PnPTenantRecycleBinItem -Url $DeletedSiteURL -Force -ErrorAction Stop #restore site collection sharepoint online powershell $DeletedSite = Get-PnPTenantRecycleBinItem | Where Simply use the code below (credits to Salaudeen Rajack): #Config VariablesĬonnect-PnPOnline -Url $TenantURL -Credentials (Get-Credential)

restore deleted onenote page

This other method is effective if you know the site that was accidentally deleted. The system will then confirm to you the restoration of the site along with its assets.Ĭonfirm your decision by clicking the restore button from the dialogue box.

  • Hit the restore button from the command bar.
  • Once you’re in the SharePoint admin center:
  • Click the app launcher inside any Microsoft 365 portal.
  • There are two methods you can use: Method #1: SharePoint Admin Centerįor the first one, you need to get to the SharePoint admin center first: How to restore a deleted site in SharePoint










    Restore deleted onenote page