Skip to main content
Question

APNs Topic ID Mismatch: Automating Re-enrollment for Active MDM Profiles

  • May 5, 2026
  • 5 replies
  • 92 views

GovindSharma
Forum|alt.badge.img+1

Hi Everyone,!

I am working with a client who renewed their APNs certificate using a different Apple ID. This resulted in a Topic ID mismatch within their Jamf Pro instance. While some devices are approaching their MDM profile expiration, a majority are set to expire by the end of the year. 

Because the current APNs certificate is inactive for these devices, the "Renew MDM Profile" command is failing with a "Topic ID mismatch" error. 

Does anyone have suggestions for automating the re-enrollment of devices that still have valid MDM profiles but are tied to the old APNs certificate? I am looking for a way to transition them to the new certificate without manual user intervention.!--tgqphd|[]-->

 

 

5 replies

Chubs
Forum|alt.badge.img+25
  • Jamf Heroes
  • May 5, 2026

So your client renewed and pushed or just renewed?  If just the latter and the timeframe is right, you may be able to get on the horn with Apple and have them transfer ownership of the existing cert and then do another renewal and have that push without having to reenroll.  

It annoys me when folks ignore warnings of “hey this is a bad thing to do and your day will get infinitely worse...nay your near future will be terrible” and they click “Sure!”.  Then it’s up to someone else to figure out.

I’d say given the circumstances, give Apple Support a shout.  They may be able to assist.


bradtchapman
Forum|alt.badge.img+20
  • Valued Contributor
  • May 5, 2026

Whatever you do, do NOT commit to using the new certificate with the mismatched topic.  If the old certificate expires, it’s fine.  Your devices will check in again after you replace it.  

 

Call Apple: https://support.apple.com/en-us/118629


Chubs
Forum|alt.badge.img+25
  • Jamf Heroes
  • May 5, 2026

Chubs
Forum|alt.badge.img+25
  • Jamf Heroes
  • May 5, 2026

Whatever you do, do NOT commit to using the new certificate with the mismatched topic.  If the old certificate expires, it’s fine.  Your devices will check in again after you replace it.  

 

Call Apple: https://support.apple.com/en-us/118629

This.  Just all the warnings. lol


PMullins1
Forum|alt.badge.img+14
  • Jamf Heroes
  • May 5, 2026

Whatever you do, do NOT commit to using the new certificate with the mismatched topic.  If the old certificate expires, it’s fine.  Your devices will check in again after you replace it.  

 

Call Apple: https://support.apple.com/en-us/118629

Whether or not Apple can/will help seems to vary dramatically, depending on who you get on the other end of the phone call and how long it’s been since the cert was renewed. Sometimes they’ll jump through hoops to help you solve it, and other times it’s, “too bad, so sad. Hu-bubye.”

 

Here’s the simple extension Attribute I got from Jamf that collects Topic IDs. You can use that to see how widespread your exposure is, if necessary.

#!/bin/sh

echo "<result>$(/usr/sbin/system_profiler SPConfigurationProfileDataType | awk '/com.apple.mgmt.External/{ print $NF }' | sed 's/[";]//g')</result>"