403 FORBIDDEN - my.sharepoint.com/personal/

asapaesop 1 Reputation point
2020-09-04T03:02:32.433+00:00

Our Veeam Admin is reporting errors about personal pages (Delve slash OneDrive) not backing up due to access issues:
“Access to this Web site has been blocked. Please contact the administrator to resolve this problem"

When attempting to access the pages manually using my site collection admin account I get the 403 FORBIDDEN page.

https://tenant-my.sharepoint.com/personal/firstname_surname_domain_com

I've tried adding /_layouts/15/onedrive.aspx and /_layouts/15/settings.aspx suffixes with no luck.

The users appear to be ex-employees, but if the pages are truly gone I would be expecting a 404 error instead..

Obviously not a huge issue. But perplexing as to what happens to the old pages, maybe the permissions are cached but the site is truly gone..

Thanks

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Echo Du_MSFT 17,316 Reputation points
    2020-09-04T10:21:29.443+00:00

    @asapaesop

    403 Forbidden means that the authentication was provided, but the authenticated user is not permitted to perform the requested operation.

    And Global admins and SharePoint admins don't have automatic access to all sites and each user's OneDrive, but they can give themselves access to any site or OneDrive.

    You could run the following script code to add a Site Collection Administrator to OneDrive for Business

    # install PnP module  
    Install-Module SharePointPnPPowerShellOnline  
      
    #Set Variables  
    $SiteURL = "https://testlz-my.sharepoint.com/personal/***_com/"  
    $AdminName="  *** "  
    $Password = " ***  "  
      
    #Connect to PnP Online   
    $cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $AdminName, $(convertto-securestring $Password -asplaintext -force)  
    Connect-PnPOnline -url $SiteURL -Credential $cred  
      
    Add-PnPSiteCollectionAdmin -Owners "***@***.***.com"  
    

    Thanks,
    Echo Du

    ----------

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.


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.