This has been an on going issue for most people using Office 365 licensed Office products since the beginning.
After a period of time (Sometimes a password change sets it off) Your user might get the error (Unlicensed Product) in the banner when opening an Office product like Word or Outlook.
There are two different fixes, one for Office 2010 & another for Office 2013.
You need to open a command prompt (I would elevate) and run the following.
32bit: C:\Program Files\Common Files\Microsoft Shared\OFFICE14\OSAUI.exe /F
64bit: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\OSAUI.exe /F”
You need to go to one of these locations first and then run the script below
32bit: C:\Program Files\Microsoft Office\Office 15\
64bit: C:\Program Files (x86)\Microsoft Office\Office15\
Now run: cscript OSPP.vbs /act
This should bring up am activation window which should show “Successful” after completing.
Hopefully this will help you solve your Office 365 Office Licensing issue.
I have since had issues where the above does not resolve the issue for Microsoft Office 2013. Where this occurred I have done the following which seems to work ok.
run: cscript OSPP.vbs /dstatus
This will show you the status and last 5 digits of each license key. Now locate the installation that won’t install properly.
Now run: cscript OSPP.vbs /unpkey:Last 5 Digits Of key
(Example: cscript OSPP.vbs /unpkey:4B44N3)
*Note: You can just run this for each of the installations, but be aware you will need the license keys or accounts to reactivate*
Once you have run those commands I recommend rebooting the machine and then right clicking on Word and selecting “Run as administrator”. This should hopefully re-prompt the Office activation window an you can sign into Office 365