1

Can someone tell me, how can I get the TeamID & bundleID of all installed apps in macOS.

I know how to get the bundleID of an app, I want both TeamID and bundleID of all the installed app.

Is there any shell script/command which can be used for this?

  • 2
    See this site and this one for some background. Please edit your question, or create a comment, which tells us what you’ve tried already, but doesn’t work. If you’re trying to find out this info to create profiles for managed Macs to handle new security restrictions when installing kernel extensions, there are numerous discussions on JAMF and Meraki user and support fora. – IconDaemon Feb 8 at 10:26
  • I am trying the create Profile for whitelisting the apps. The Profile needs two parameters(AppId & BundleId) of app for whitelisting apps. For now, I am looking into whitelisting the default apps which comes preinstalled with mac, hence I was looking for article/script which can point out to get the app_ids from mac. – Kalpesh Fulpagare Feb 8 at 13:17
  • @IconDaemon I looked at the first article which you pointed, its says to install KEXTs, but not sure which KEXT I have to install to get the AppID of all installed apps in mac. – Kalpesh Fulpagare Feb 8 at 13:19
  • @IconDaemon why don't you post this as an answer? It seems the first page you've linked to contains a valid approach — running e.g. codesign -dv --verbose=4 /Applications/Google\ Chrome.app/ 2>&1 | grep TeamIdentifier returns Google's TeamIdentifier EQHXZ8M8AV – Asmus Feb 8 at 13:49
  • I'm not posting this as an answer because I am not sure if this actually works, and was the result of a few minutes of Googling. If Kalpesh finds that he can work from the links I provided for a solution, I expect that he will comment to the affirmative at which point I will move it into an answer. – IconDaemon Feb 8 at 14:20
1

See this site and this one for some background.

If you’re trying to find out this info to create profiles for managed Macs to handle new security restrictions when installing kernel extensions, there are numerous discussions on JAMF and Meraki user and support fora.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.