In our company we have started seeing in most of the macs mdm profile and other profiles says unverified, if we remove and re-add MDM profile resolving the issue.
What will be the root cause? Is there a way we can take report on how many macs affected because of this issue?
I was seeing this too, it means that the Mac is dropping or otherwise losing your Jamf Pro's certificate. You can fix this quickly, without re-enrolling, by running the following command:
#!/bin/sh sudo jamf trustJSS
That command, courtesy of Rich Trouton, adds a trust for the JAMF CA back into the System keychain.