MacOS – How to find out the TeamID of installed apps in macOS High Sierra/Mojave

high sierramacosmojave

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?

Best Answer

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.