Fix: Microsoft 365 Apps Keep Asking You to Sign In or Say Unlicensed Product
Word opens with a yellow banner that reads Sign in to set up Office or Unlicensed Product. Excel says Product Deactivated. Outlook shows We need to fix your Office account, or File > Account says you are signed in while the title bar still reports the product is unlicensed. Some users see a sign-in loop: password, MFA approval, then the same prompt again.
In reduced functionality mode, documents open read-only. This hits anyone whose license, device, or cached sign-in changed recently: a new hire, a user on a replacement laptop, or an office whose plan was changed by the billing contact.
One exception: Microsoft Publisher reached end of support in October 2026 and is removed from Microsoft 365. A Publisher that no longer opens is a retirement, not a license bug.
Why This Happens
The license is missing or the wrong plan. Microsoft 365 Business Basic includes web and mobile apps only. Desktop apps require Business Standard, Business Premium, Microsoft 365 Apps for business or enterprise, or E3/E5. If a user was moved between plans or a seat was reassigned, the apps lose their entitlement at the next license check and enter reduced functionality mode after 30 days.
The device limit was reached. Each user may activate the apps on five PCs or Macs. Old laptops never signed out still hold a slot, and a sixth activation produces Product Deactivated on the device that checked in last.
Cached identity is stale. The apps sign in through the Windows Web Account Manager (WAM) and cache tokens in Credential Manager and the registry. A password change, a Conditional Access policy that now requires a compliant device, or a broken Entra ID (formerly Azure AD) device registration leaves the apps holding a token the service rejects. Each prompt still fails: that is the sign-in loop.
The environment is wrong for the license. Remote Desktop and Azure Virtual Desktop session hosts need Shared Computer Activation; without it, every user burns a device slot on the host. A clock more than five minutes off or a damaged Click-to-Run installation produces the same symptoms.
How to Fix It
Method 1: Sign out and confirm the license
- In any Office app, open File > Account, click Sign out, close every Office app, reopen Word, and sign in again.
- Check your plan at portal.office.com/account under Subscriptions. If none with desktop apps is listed, an admin must assign one.
- Admins: in the Microsoft 365 admin center, open Users > Active users, select the user, and open Licenses and apps. Confirm a plan with desktop apps is checked and Microsoft 365 Apps is enabled in the Apps list beneath it.
Method 2: Free up a device slot
- On the same account page, open Apps & devices, expand Devices, and click Sign out next to any computer you no longer use, then sign out and in on the affected PC.
Method 3: Clear cached credentials
- Close all Office apps. Open Control Panel > Credential Manager > Windows Credentials and, under Generic Credentials, remove every entry beginning with
MicrosoftOffice16_Data:,ADAL, orMicrosoftAccount:. - If the loop persists, back up the registry, then with Office closed delete the
IdentitiesandProfilessubkeys under:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
- Reopen Word and sign in; Office rebuilds both keys.
Method 4: Check device registration
- Open Command Prompt and run:
dsregcmd /status
- Under SSO State,
AzureAdPrtmust read YES. A missing Primary Refresh Token means Windows itself has no valid sign-in for Office to borrow. - If it reads NO, lock and unlock Windows with the password (not a PIN) and run it again. If it stays NO, the device must be rejoined to Entra ID, an admin task because it affects BitLocker key escrow and Intune compliance.
Method 5: Repair the installation
- Open Settings > Apps > Installed apps, find Microsoft 365 Apps, choose Modify, and run Quick Repair.
- If that does not help, run Online Repair, which reinstalls the suite in 20 to 40 minutes without touching documents or mail.
- To read the activation state directly, run (
Program Files (x86)for 32-bit installs):
cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /dstatus
LICENSE STATUS: ---LICENSED---means activation is fine and the problem is identity.---NOTIFICATIONS---or---GRACE---means the license check is failing.
Method 6: Shared Computer Activation for RDS and AVD (admin)
On session hosts, enable it through Intune or Group Policy (Microsoft Office 2016 Licensing Settings, Use shared computer activation) or the registry value:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration
SharedComputerLicensing = 1 (REG_SZ)
It requires Microsoft 365 Apps for enterprise, Business Premium, or E3/E5 per user; Business Standard does not support it.
How to Verify the Fix Worked
- File > Account shows Product Activated under Product Information, with the correct plan name.
- No banner appears in Word, Excel, or Outlook, and editing and saving work.
- Reboot and reopen the apps; the prompt should not return.
dsregcmd /statusshows AzureAdPrt YES and the Entra sign-in log shows success for the Microsoft Office application.
If It Still Isn’t Working
Read the Entra sign-in log. Admins should filter the user’s sign-in logs for the application Microsoft Office. A Conditional Access failure names the policy and condition that blocked the token, the most common cause of a loop that survives every client-side fix. Fix the device’s compliance state rather than disabling the policy.
Repair the account broker. If the sign-in window never appears or closes immediately, the WAM broker is damaged. Run this in elevated PowerShell and reboot:
Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown
If activation is LICENSED, the PRT is present, Conditional Access passes, and the apps still demand sign-in, create a new Windows profile to rule out corruption, then escalate to your IT provider or Microsoft support with the ospp.vbs output and the sign-in log correlation ID.
How Capital Techies Handles This for Managed Clients
For managed clients, these issues are prevented upstream: licenses are assigned by group so a plan change never strands a user, devices are Entra joined and Intune enrolled through Autopilot so the Primary Refresh Token and compliance exist before the apps open, and Shared Computer Activation is baked into every RDS and AVD image. Our RMM reports activation state, and offboarding signs departed users out of every device.
The result: staff open Word and work, with no afternoon lost to a sign-in loop and no gap in the device compliance your HIPAA or cyber insurance controls depend on. Explore our Microsoft 365 services or contact Capital Techies.
Frequently Asked Questions
Why does Word say Unlicensed Product when I pay for Microsoft 365?
Usually the plan does not include desktop apps, or the license was never assigned to you. Business Basic covers web and mobile apps only. Desktop Word, Excel, and Outlook require Business Standard, Business Premium, Microsoft 365 Apps for business, or E3/E5 assigned to your account.
How many computers can I install Microsoft 365 apps on?
Each licensed user can activate the desktop apps on up to five PCs or Macs, five tablets, and five phones. A sixth computer triggers a deactivation prompt. Sign out of old devices from the Apps and devices section of your account page to free a slot.
Publisher stopped working in October 2026. Is that a license problem?
No. Microsoft Publisher reached end of support in October 2026 and has been removed from Microsoft 365. Convert important .pub files to PDF or Word while you can. For flyers and newsletters, use Word or PowerPoint templates, Microsoft Designer, or Adobe Express.