Cannot enable Captive Portal

Symptom

When running the aaa authentication captive-portal enable command, getting the following error message:

Captive portal cannot be enabled when BYOD redirect, MAC authentication failure 
redirect, or web-based authentication are enabled.
Cause

The failure is due to a mutual exclusion restriction.

Action
  1. Check which one of the following are enabled: BYOD redirect, MAC authentication failure redirect, or web-based authentication.
  2. Disabled the enabled authentication method found in step 1.
  3. Run the aaa authentication captive-portal enable command.