Added additional logging information for Windows MDM discovery endpoint when errors occur.