Microsoft 365 Apps activation error "AADSTS9002313: Invalid Request"

When you try to activate Microsoft 365 apps, you encounter the error message:

AADSTS9002313: Invalid Request. Request is malformed or invalid.

Try the following troubleshooting methods to solve the problem.

Note Some of these troubleshooting methods can only be performed by a Microsoft 365 admin. If you aren’t an admin, see How do I find my Microsoft 365 admin?

Activating Microsoft 365 on Windows 8.1 or earlier

To activate Microsoft 365 Apps, TLS 1.2 must be enabled on the operating system. Some older operating systems, such as Windows 7 SP1, Windows Server 2008 R2, and Windows Server 2012, require an update to enable TLS 1.2 by default.

Important Running Microsoft 365 Apps on these older operating systems isn't supported. For more information, see End of support resources for Office.

  1. If you are running Windows 7 or Windows Server 2008, make sure that Service Pack 1 is installed.
  2. Enable TLS 1.2 as the default protocol by using this easy fix, and then restart the device.
  3. From Start, select Control Panel > Internet options > Advanced settings.
  4. If TLS 1.2 isn’t checked, check it, then select Apply and OK.
  5. Restart the device, and then try activating Microsoft 365 again.

Make sure Azure Active Directory Authentication Library (ADAL) and Web Account Manager (WAM) are enabled

For more information, see Disabling ADAL or WAM not recommended for fixing Office sign-in or activation issues.

Reset Microsoft 365 activation state

See Reset activation state for Microsoft 365 Apps for enterprise.

Additional troubleshooting

If the above steps don’t solve the problem, try the steps in the following articles: