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
Download & install the wrapping tool: https://github.com/microsoftconnect/intune-app-wrapping-tool-android
Download & install a Java JRE: https://www.java.com/en/download/
Run the wrapping tool from step 1 in PowerShell:
Import-Module "C:\Program Files (x86)\Microsoft Intune Mobile Application Management\Android\App Wrapping Tool\IntuneAppWrappingTool.psm1"
invoke-AppWrappingTool -InputPath .\app\jiraconnect.apk -OutputPath .\app_wrapped\jiraconnect.apk -Verbose
Sign the wrapped APK from above step with the apksigner tool
apksigner sign --ks yourkey.jks jiraconnect-wrapped.apk
References
https://learn.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-android