Recently I got request from customer that, they want to know what are the SharePoint sites and Mailboxes are backing up in Veeam server.
The small script helped to fetch this,
SP site:
$Org = Get-VBOOrganization -Name "YourOrg.onmicrosoft.com"
$Job = Get-VBOJob -Name "SPSite_BackupJob_Name"
$Sites = Get-VBOOrganizationSite -Organization $Org
$Sites | Select-Object Name | Sort-Object -property Name
---
Mailboxes :
$user = Get-VBOOrganizationUser -Organization $Org |Select-Object UserName | Sort-Object -property UserName
Credit goes to :
https://github.com/nielsengelen/veeam-powershell/blob/master/VBO365/VBO365-ExcludePersonalSharePointSites.ps1