This article fixes a problem that occurs when you deploy a macOS LOB app in Microsoft Intune, and you receive the following error message:
One or more apps contain invalid bundleIds. (0x87D13BA2)
Symptoms
Download the Mac Cisco AnyConnect VPN client via the Related Downloads box to the right on this page. Run the downloaded program. Note: the version number may be different from the screenshot above. When the installation starts, double click AnyConnect to continue. Click Continue twice. To connect to Cisco AnyConnect follow the instructions in Connect to AnyConnect VPN for Mac OS X. Installing Cisco AnyConnect for macOS. Click on the Download button under the AnyConnect for macOS (Recommended) section on the Downloads & Guides page. Enter your Internet ID and password, if prompted. Save the application, Do Not Run from the web.
You publish a macOS line-of-business (LOB) app by using Intune. When you select the app in the Microsoft Endpoint Manager admin center, the Device install status shows the following information about the app:
- Status: Failed
- Status details: One or more apps contain invalid bundleIds. (0x87D13BA2)
Here's an example of Cisco AnyConnect VPN:
This problem can occur even if the app is successfully installed on the device.
Cause
This problem occurs under the following conditions:
- Multiple applications are included in a macOS app package.
- The macOS MDM client doesn't report the installation status of all individual applications that are included in the package.
Any app that has multiple components, such as Cisco AnyConnect VPN, can generate this error message.
Resolution
To fix this problem and enable the macOS LOB app to correctly report its status, follow these steps:
Copy the wrapped application in
.intunemac
format to a macOS device. Put the.intunemac
file into a temporary folder.Run the following command to extract the
.intunemac
file:In our example, run
unzip AnyConnect.pkg.intunemac
.The content of the package will be extracted to a child folder that's named IntuneMacPackage under the temporary folder.
Open the IntuneMacPackage/Metadata/Detection.xml file in a text editor.
Here's a sample Detection.xml file of Cisco AnyConnect VPN:
Remove all MacOSLobChildApp elements except the one for the main application in the package. Update the MacOSLobApp element by using the BundleId and BuildNumber of the main application, and then save the Detection.xml file.
In the example, the BundleId of the main application is com.cisco.anyconnect.gui. Remove all MacOSLobChildApp elements except the following one:
Then, change the MacOSLobApp element to:
Below is the updated Detection.xml file:
Run the following command to repackage the IntuneMacPackage folder:
Note
<Package_Name> is the desired name of the
.intunemac
file, and <IntuneMacPackage_Folder_Location> is the location of the IntuneMacPackage folder that you created in step 2.For our example, run the following command:
Add the new
.intunemac
file to the Microsoft Endpoint Manager admin center, and then sync the device.
Installing the VPN
Uninstalling the VPN
Connecting to VPN | Disconnect from VPN
Connecting to FULL VPN | Disconnect from FULL VPN
Installing the Cisco AnyConnect VPN Client
Note: Use the Safari browser when downloading this software.
Cisco Anyconnect For Mac
Download the Cisco AnyConnect VPN Client installer for Mac.
Enter theCougarNetcredentials.
Click Login.
Click Download for macOS link to download the software.
- Click Allow.
If you get a DMG file double click the file, which is located in Finder/Downloads.
Double-click the AnyConnect.pkg file to start the Cisco AnyConnect Installer wizard.
When the Welcome window displays, click Continue.
- Click Continue.
- Click Agree.
Select your hard drive as the destination where you want to install Cisco AnyConnect and then click Continue if you receive this screen.
- Click Install.
Allow a moment for the software to install.
At the prompt, enter your administrator account password for the Mac and click Install Software.
Now to allow system extension at bottom of this window click Open Preferences.
Click Allow.
- The installation was successful click Close.
- Click Move to Trash. You are now ready to use CISCO AnyConnect VPN click Finder/Applications/CISCO. Double click CISCO AnyConnect Secure Mobility Client.app.
How Do I Download Cisco Anyconnect For Mac
Uninstalling the Cisco AnyConnect VPN Client
- Click Finder icon.
- Click Applications. Double click CISCO folder.
- Double click UninstallAnyConnect.
- Click Uninstall.
- Enter Admin password.
- Enter Admin password again if prompted. Click OK.
- Uninstall is completed.
Connecting to the UH VPN
This is for users that need to access UH secure network resources from off campus.
To launch the VPN client, open your Applications folder and navigate to Cisco > Cisco AnyConnect Secure Mobility Client.
- Type vpn.uh.edu.
Click Connect.
Enter the following information and then click OK:
- Group: UHVPN
- Password: your COUGARNET password
Note: Once the VPN connection is established, a message displays, informing you that you are now connected to the VPN.
Disconnect from the UH VPN
Click the Cisco AnyConnect icon with a small lock.
At the prompt, click Disconnect.
Note: If you disconnect from UH VPN you will be required to re-enter your password for reconnections.
Connecting to the Full UH VPN
This is for users that need to access web-based journals and databases licensed by UH Libraries.
Is Cisco Anyconnect Free For Mac
To launch the VPN client, open your Applications folder and navigate to Cisco > Cisco AnyConnect Secure Mobility Client.
- Type full-vpn.uh.edu.
Click Connect.
Enter the following information and then click OK:
- Group: full-vpn
- Password: your COUGARNET password
Note: Once the VPN connection is established, a message displays, informing you that you are now connected to the VPN.
Disconnect from the Full UH VPN
Cisco Anyconnect Download Mac Free
Click the Cisco AnyConnect icon with a small lock.
At the prompt, click Disconnect.
Install Cisco Anyconnect On Mac
Note: If you disconnect from the full UH VPN you will be required to re-enter your password for reconnections.