Available License
Before adding a license, you can see active subscriptions, license quantities and available licenses in the account under Billing > Licenses > Subscriptions.
Add a license to a Microsoft 365 User
In Users > Active Users select the user. Select the Licenses and Apps tab. Then check the box next to the license to be added.
Once the license is added, click Save Changes.
Remove a License from a Microsoft 365 User
In the same panel, uncheck the license to be removed and click Save Changes.