CmdID / PowerShell / Cmdlets / Remove
Remove-CsUserLicenseGracePeriod
The CsUserLicenseGracePeriod cmdlet expedites the delicensing operation for the assigned plan(s) of a user/resource account by removing the grace period, permanently deleting the assigned plan(s). Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 7 parameters Its page in the reference
Parameters
-ActionUsed to specify which action should be taken.-BodySpecifies the body of the request.-CapabilityDenotes the plan(s) assigned to the specified user, which are to be permanently deleted if they are currently serving their grace period.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-IdentitySpecifies the Identity (GUID) of the user account whose assigned plan grace period needs to be removed, permanently deleting the subsequent plan.-InputObjectThe Identity parameter.-PassThruReturns the results of the command.