Were you able to figure this out? I have tried setting up service discovery using https://developer.apple.com/documentation/devicemanagement/assign-account-driven-enrollment-profile?language=objc and tried accessing the email domain and see the same error as above
Service URL from wellknown URL request finished with data: 2 bytes, response: <NSHTTPURLResponse: 0x30198e860> { URL: https://axm-servicediscovery.apple.com/mdmBaseURL?user-identifier=<email>&model-family=iPhone } { Status Code: 404, Headers {
"Content-Encoding" = (
gzip
);
"Content-Length" = (
28
);
Date = (
"Wed, 19 Mar 2025 22:27:41 GMT"
);
Server = (
Apple
);
"Strict-Transport-Security" = (
"max-age=31536000; includeSubdomains"
);
Vary = (
"content-encoding"
);
"x-apple-request-uuid" = (
"e930d24c-06d1-429d-a367-28c8cd6b1080"
);
"x-content-type-options" = (
nosniff
);
"x-frame-options" = (
SAMEORIGIN
);
"x-xss-protection" = (
"1; mode=block"
);
} }
Topic:
Business & Education
SubTopic:
Device Management
Tags: