Explanation/Reference:
Explanation:
The Set-MsolUserLicense cmdlet can be used to adjust the licenses for a user. This can include adding a new license, removing a license, updating the license options, or any combination of these actions.
Note: Switching plans manually means that you're completing the following separate procedures instead of using the switch plans wizard. The procedures are:
Buy licenses for the subscription you're switching users to.

Verify the subscription is ready to switch users to.

Reassign user licenses

Remove unneeded licenses from the subscription you're switching from.

Cancel the original subscription (if switching all users).

Switching only some users isn't supported by the switch

References:
https://docs.microsoft.com/en-us/powershell/module/msonline/set-msoluserlicense?view=azureadps-1.0