Detecting a mobile device management (MDM) profile from a management agent is disclosed. A third party management agent is used to perform a test operation to determine an occurrence of an indirect indication of a presence of a configuration profile. The occurrence of the indirect indication is based at least in part on the presence of indirect indication-associated data in the configuration profile. It is determined, based at least in part on the occurrence of the indirect indication, that the configuration profile is implemented by a platform management agent.