Intune - Resign app and enable policies (Android)

These instructions are for Intune and the Android Mobility for Jira app. We publish signed and wrapped files for Intune. If you want to wrap and/or sign the APK yourself, you will need the following:

  • APK file (input app)

  • Your organization’s distribution key or create a new one

  • Windows computer

 

  1. Download & install the wrapping tool: GitHub - microsoftconnect/intune-app-wrapping-tool-android: Use the Intune App Wrapping Tool for Android to enable Android apps to be managed by Microsoft Intune

  2. Download & install a Java JRE: https://www.java.com/en/download/

  3. Run the wrapping tool from step 1 in PowerShell:

    1. Import-Module "C:\Program Files (x86)\Microsoft Intune Mobile Application Management\Android\App Wrapping Tool\IntuneAppWrappingTool.psm1"

    2. invoke-AppWrappingTool -InputPath .\app\jiraconnect.apk -OutputPath .\app_wrapped\jiraconnect.apk -Verbose

  4. Sign the wrapped APK from above step with the apksigner tool

    1. apksigner  |  Android Studio  |  Android Developers

    2.  apksigner sign --ks yourkey.jks jiraconnect-wrapped.apk

 

References

Wrap Android apps with the Intune App Wrapping Tool

apksigner  |  Android Studio  |  Android Developers