Posted on 06-13-2019 10:36 AM
Does anyone know a command to get this string of characters? This is different than a PayloadUUID. Trying to create an Identity Preference item in the keychain based off of it. This will keep the users from having to select the computers device certificate in order to connect to the network.
The only place I've been able to find the Enterprise Profile ID is by going to "System Preferences > Profiles" and selecting the profile. This is a unique string will change each time the profile gets installed. This Enterprise ID seems to only show up when using a Network payload in a configuration profile.
Posted on 02-07-2022 06:28 PM
Were you ever able to find a way to obtain this from Terminal?
Posted on 02-08-2022 04:08 AM
This should return just the Enterprise Profile ID.
security dump-keychain -r "/Library/Keychains/System.keychain" | grep -p "com.apple.network.eap.system.identity.profileid." | awk '{print $2}' | tr -d '"' | sed "s/<blob>=com.apple.network.eap.system.identity.profileid.//g" | sed -n 1p