For desktop devices only.
After upgrading to the Anniversary Update from a previous build of Windows, you may open the For Developers settings menu and find that while the Device Portal switch is enabled, when you press it Device Portal fails to enable. The slider bounces "ON",
then immediately bounces back to "OFF".