Hi,
Please check whether this link is helpful, Activating Windows 10 with M365 Licences.
all you have to do is log into the computer with an account that has an M365 license on it that includes Windows and it will "seamlessly" activate, or upgrade if you're on Pro
true with 1803+. With 1703 or 1709, Pro had to be activated before the Enterprise user license would kick in
machine needs to be Hybrid Azure AD for the license to take effect
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
----------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.