--- title: "Remove-VBOLicensedUser" description: "This cmdlet removes licenses from Veeam Backup for Microsoft 365 users." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/remove-vbolicenseduser.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Licenses > Remove-VBOLicensedUser" dateModified: "2026-08-21" --- # Remove-VBOLicensedUser ## Short Description Removes licenses from Veeam Backup for Microsoft 365 users. ::: important You must remove user data from the backup repository before removing a license from Veeam Backup for Microsoft 365 users. Run the [`Remove-VBOEntityData`](remove-vboentitydata.md) cmdlet to remove the user data. ::: ## Syntax ``` Remove-VBOLicensedUser [-User] [] ``` ## Detailed Description This cmdlet removes licenses from Veeam Backup for Microsoft 365 users. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

User

Specifies a licensed user. The cmdlet will remove license from this user.

Accepts the VBOLicensedUser object.

To get this object, run the Get-VBOLicensedUser cmdlet.

VBOLicensedUser

True

0

True (ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Examples ::: example ### Removing Licensed Users from Veeam Backup for Microsoft 365 Server This example shows how to remove a license from the `John Smith` licensed user from the `Columbus` organization. ``` $org = Get-VBOOrganization -Name "Columbus" $licensedUser = Get-VBOLicensedUser -Organization $org -Name "John Smith" Remove-VBOLicensedUser -User $licensedUser ``` Perform the following steps: 1. Run the [`Get-VBOOrganization`](get-vboorganization.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$org` variable. 2. Run the [`Get-VBOLicensedUser`](get-vbolicenseduser.md) cmdlet. Specify the `Organization` and `Name` parameters value. Save the result to the `$licensedUser` variable. 3. Run the `Remove-VBOLicensedUser` cmdlet. Set the `$licensedUser` variable as the `User` parameter value. ::: ## Related Commands - [`Get-VBOOrganization`](get-vboorganization.md) - [`Get-VBOLicensedUser`](get-vbolicenseduser.md)