Skip to main content
Solved

Release licence for users in Veeam backup for Microsoft Office 365


  • Comes here often
  • 13 comments

I’d backed up some data for a group of users during a mail migration. The job is complete so I’ve deleted it all to free up the licenses for another job.

 

Unfortunately I believe that I’ve done things in the wrong order. The repository has been deleted and now I can’t get “Remove-VBOLicensedUser”. For every user it outputs:

“Remove-VBOLicensedUser : The process cannot access the file '\\10.1.1.1\office365backups\BackupName\Repository.xml' because it is being used by another process”

 

The repository listed is nothing to do with these users and it’s not in user by any process that I can see - certainly openfiles is blank. Any idea how to proceed?

 

Best answer by Chris.Childerhose

KWCork wrote:

Yup, the whole repository has been blitzed and doesn’t show up with Get-VBORepository. Still can’t remove the licences though.

I think you needed to remove the user data from the repository before deleting it as there is probably some records still in the XML file referenced possibly.  So unsure if you will get this to work and might need to contact Support.

View original
Did this topic help you find an answer to your question?

6 comments

Chris.Childerhose
Forum|alt.badge.img+21

If you check the Veeam help here - Remove-VBOLicensedUser - Veeam Backup for Microsoft 365 PowerShell Reference

Note the IMPORTANT piece on there -

 

You need to remove the user data from the repository first before you can remove the licensed user.


  • Author
  • Comes here often
  • 13 comments
  • June 6, 2023

Yup, the whole repository has been blitzed and doesn’t show up with Get-VBORepository. Still can’t remove the licences though.


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8489 comments
  • Answer
  • June 6, 2023
KWCork wrote:

Yup, the whole repository has been blitzed and doesn’t show up with Get-VBORepository. Still can’t remove the licences though.

I think you needed to remove the user data from the repository before deleting it as there is probably some records still in the XML file referenced possibly.  So unsure if you will get this to work and might need to contact Support.


  • Author
  • Comes here often
  • 13 comments
  • June 6, 2023

Yeah, I was worried that might be the case. You live and leearn. :)

 

Thanks.


HangTen416
Forum|alt.badge.img+11
  • Influencer
  • 196 comments
  • June 6, 2023

If the jobs and the data have been removed, the licenses should be freed up in 31 days:

https://helpcenter.veeam.com/docs/vbo365/guide/vbo_licensing.html?ver=70

“The Veeam license is consumed by objects (mailboxes, OneDrive for Business accounts, SharePoint personal sites) for which at least one restore point has been created within the last 31 days. If an object was not backed up for 31 days, its license is automatically revoked.”


  • Author
  • Comes here often
  • 13 comments
  • June 7, 2023

Yeah, I’d like to get those licences over the next few days though. Looks like support will be the only option.


Comment