"Account action required" message on an Android device

Problem

You are unable to add an account on an Android device. You get the following message:
Account action required.

Environment

  • Android devices 

Solution

  1. Add the Android management subscription. 
  2. Turn off Mobile Device Management and change the configuration to Basic