SpanningCloudApps / SB365-Powershell

Spanning Backup for Office 365 REST API PowerShell Module
https://spanning.com
Apache License 2.0
11 stars 5 forks source link

List of users whose backups failing with error code 10004 #53

Closed ssuryakant20 closed 2 years ago

ssuryakant20 commented 2 years ago

Is there any PowerShell command or program to return list of users whose backups failing with error code 10004. Such list will help to disable active license to those users and re-use for other users programmatically.

SPMatthewMcD commented 2 years ago

@ssuryakant20 There isn't a command to get users by error code.

You could use one of the code samples to query Azure AD and determine of the user has been disabled/removed/delicensed and then remove the license from the Spanning User through the API.

Please note that 30 days after you remove the Spanning License the users' backups will be deleted.

ssuryakant20 commented 2 years ago

Got you , wish there could have been a command for that. No problem Thanks Mat,