
You can't assign the licenses in the Azure portal.

Then go to Settings > Accounts > Access work or school, choose Connect, and follow the steps to join the device to either Azure Active Directory or to a local Active Directory domain. If the Windows client device doesn't appear, sign in to the Windows client device. The type of join for your Windows client device is listed in the Join Type column.

Sign in to the Microsoft Azure and go to Azure Active Directory > Devices. The About Windows dialog appears and lists the version of Windows client. On the Windows client device, from the Start menu or a command prompt, type winver and then hit Enter. The version number of Microsoft 365 Apps for enterprise that is installed on the device appears in the About section of the Product Information section. On the Windows client device, open an Office application, such as Word, and go to File > Account. To verify that Microsoft 365 Apps for enterprise and the Windows client device meet these requirements, do the following steps:


The following are the requirements for device-based licensing for Microsoft 365 Apps for enterprise: Requirements for using device-based licensing for Microsoft 365 Apps for enterprise For commercial availability, contact your Microsoft account representative. For more information, read the blog post on education availability. For education customers, the license is Microsoft 365 Apps for Education (device) and is available only through Enrollment for Education Solutions (EES). For commercial customers, the license is Microsoft 365 Apps for enterprise (device) and is available only through Enterprise Agreement/Enterprise Agreement Subscription. Device-based licensing for Microsoft 365 Apps for enterprise is available as a license only for some commercial customers and some education customers.
