Our MDM server is hosted with our enterprise. All the devices pass through the proxy & firewall server to reach it. Due to some misconfiguration, our proxy server responded with 401 to all the requests.
Later we noticed that the MDM profile is missing from some of the devices. On checking with the MDM team, they forwarded us to Apple documents saying this is out of their control and 401 response would remove MDM profile.
Could this be handled in such a way that, MDM server could have some control over this, say only MDM server can send 401 to remove the profile.
Has anyone faced this. Any help this would be appreciated.