Posted on 09-10-2021 12:49 PM
Hi Folks,
New to JAMF Pro. I'm going through the steps to connect JAMF to Apple Business manager. I was able to create the MDM on Apple Business Manager and download the token. When I upload the token, I get an error "Problem Contacting Apple Services".
Any suggestions on how to resolve?
Posted on 09-10-2021 01:48 PM
You need to allow outbound connections to Apple’s 17.0.0.0/8 block over TCP ports 2195 and 2196 from your server.
Posted on 09-10-2021 02:13 PM
Thanks for the reply!
I'm running in the JAMF cloud. Shouldn't that already be the case?
Posted on 09-10-2021 02:17 PM
I assume you are correct as I run Jamf on-premises and needed to ensure the ports were open for my instance.
09-10-2021 02:17 PM - edited 09-10-2021 02:18 PM
@jbresee Some pages you'll find very useful for determining what ports/servers need to be open for using Jamf Pro and managing Apple devices:
Network Ports Used by Jamf Pro
Use Apple products on enterprise networks
If your Apple devices aren't getting Apple push notifications
Posted on 09-13-2021 07:21 AM
Those are helpful, but do they apply when JAMF Pro in the cloud is contacting Apple directly cloud-to-cloud?
Posted on 09-10-2021 03:33 PM
FWIW @jbresee - I had this happen a week ago exactly, and I just kept trying and it worked on like the 10th try...maybe on Fridays, Apple do some maintenance? There was nothing wrong on my setup (also cloud) and it took a while, but worked. Good luck!
Posted on 09-13-2021 07:19 AM
Thanks Scott. I've tried hammering it over the weekend. No luck yet.
Posted on 12-13-2021 11:37 AM
@jbresse did this ever work for you?
Posted on 12-13-2021 01:31 PM
Yes, I deleted and recreated the token on the apple biz side.
Posted on 10-27-2022 12:34 PM
This happened to me just now. I know it isn't a port thing because there are other Apple Business Manager accounts attached to this same JSS that are not having the problem.
I tried multiple times with no luck. Then I uploaded a new public key and download a new .p7m and still no luck.
So I tried like 20 times and it finally took.
Posted on 10-27-2022 12:56 PM
See my post above...have had the same experience twice now, and just retrying over and over gets it.
Why? No clue, but it stinks! 😏
10-27-2022 01:07 PM - edited 10-27-2022 01:07 PM
Ha! So it happened with two more ABM accounts and two JSSs.
Rebooting the JSS hosts did the trick.