I know this is already solved, but just wanted to add. I accidentally renewed the certificate with the wrong apple ID account, and all our devices had this error 'x out of x devices are missing the certificate and need to be re-enrolled.'. Thankfully, I was able to regenerate and upload into Meraki a certificate using the correct Apple account, and they all righted themselves. They were all fine in our circumstance because the original certificate was still valid.. so if you discover your mistake before the certificates expire, you might have luck if you regenerate it using the proper account... thought it was worth a mention.
... View more