Hi team,
I already submitted a pull request to change the checking for the old Intune Connector to the new Certificate connector, but my knowledge of the rest of the below pieces of code have to be changed as well.
The pieces of codes are:
lines 1165 - 1268
lines 1385 - 1497
lines 1574 - 1648
So hopefully this will be changed quickly, so others can use this script again.