How to Find App Bundle ID for iOS Apps

posted in: Intune, EMS, Powershell | 0
Background

Sometimes when working with Intune you will come across settings that require you to supply the App Bundle ID for apps you want to configure.
The documentation for Intune has a list of all build-in apps from Apple and can be found here.

An example of when this would be required is when you want to configure the Show or Hide Apps (supervised only) or Restricted Apps settings for iOS.

Unfortunately there is no way to find the App Bundle ID directly in the App Store without some tricks.

Solution

When you have an app that you want to add to the above mentioned settings you can do the following steps to get the App Bundle ID.

  1. Go to the App Store page for your App. I’ll use Microsoft Word as an example.
    This would be https://itunes.apple.com/us/app/microsoft-word/id586447913?mt=8
    Copy the ID number from the URL. E.g. 586447913.
  2. Copy the URL https://itunes.apple.com/lookup?id=586447913 and replace the digits at the end with your app.
    Browse to page. You will download a file called 1.txt.
  3. Open the file 1.txt and search for bundleId.

In my case It will look like this.

You can also do it using powershell.

1. Go to the App Store page for your App. I’ll use Microsoft Word as an example.
This would be https://itunes.apple.com/us/app/microsoft-word/id586447913?mt=8
Copy the ID number from the URL. E.g. 586447913.

2. Run these powershell lines and get the bundle ID without having to download the 1.txt.

$Req = Invoke-WebRequest -Uri https://itunes.apple.com/lookup?id=586447913 $Req.tostring() -split "[`r`n,]" | select-string "bundleId" 

3. You should get an output that looks like this which contains your bundle ID

Now when you have the bundle Id you can easily user features like Show and Hide Apps (supervised only), Restricted Apps, and Autonomous Single App Mode (supervised only).

Edit 2018-03-02

I just noticed that you can find the App ID for some apps from inside Intune.

If you add the app and then go to the Mobile Apps view you can edit colums. One of those is called App Identifier.
Add it and you should be able to see the ID for some of your application. This is a much smoother approach is some cases.

Leave a Reply

Your email address will not be published. Required fields are marked *