Automated Device Enrollment Instance expired

New Contributor

Hi Jamf team,


Our Automated Device Enrollment Instance server token expired. I followed this steps to renew it 

however, every time I try to upload the key it gives me " the file received was not valid" error 

I can't see any difference between last year token name and this year except the date. I don't understand why it throws error.

I would be appreciated if you could help me in this matter

Many thanks




Contributor III

Hi, this is the process I followed to update ADE:

Obtain a new Public Key:

  1. In Jamf, at top-right corner of the page, click Settings
  2. Click Global Management.
  3. Click Automated Device Enrollment.
  4. Click Public Key to download the public key. (upper right hand corner)


Renewing the Server Token File:

  1. Log in to the Apple Business Manager.
  2. In the sidebar bottom left, click Settings.
  3. In the middle section of your screen, scroll down to MDM Server
  4. In the MDM Server, select your MDM for Jamf
  5. On the right side, click Edit
  6. Scroll down to where you can upload a key
  7. This is where you'll upload the Public key that was downloaded from Jamf
  8. Click Apply (upper right corner)
  9. Click on Download Token to download the server token..


Uploading the Server Token File to Renew Automated Device Enrollment in Jamf Pro:

  1. Back into Jamf, at top-right corner of the page, click Settings (Gear icon)
  2. Click Global Management.
  3. Click Automated Device Enrollment and select the account in there
  4. Click on Edit
  5. Click upload server token file to upload the server token file (.p7m) you downloaded from Apple.
  6. Click Save

New Contributor

Same issue here. When downloading the token for some reason the extension is left off. You just need to rename the file and add the *.p7m extension to it.

New Contributor

Ok - after getting the "public key" uploaded to Apple School Manager - I was able to get a token that uploaded to JAMF. Then I go the message "informaiton is out of date. Awaiting next sync"

New Contributor III

I am getting the error "The file received was not valid" as well. My files end with ".p7m". Did anyone figure this out?

The fix is described in this thread.