When signing .esriAddinX files using Azure Key Vault (/kvu and /kvc parameters), the resulting signature shows as Trusted but not Verified in the Esri ArcGIS Add-In Installation Utility. This only affects add-ins above a certain file size threshold (~700KB). Smaller add-ins sign and verify correctly. PFX-based signing (/c and /p parameters) works correctly for all file sizes.
Steps to Reproduce:
- Build an .esriAddinX add-in that is larger than ~700KB
- Configure Azure Key Vault with an RSA-HSM 4096-bit code signing certificate
- Authenticate via az login --service-principal and set AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET environment variables
- Sign the add-in:
ArcGISSignAddIn.exe MyAddin.esriAddinX /kvu:https://my-vault.vault.azure.net /kvc:my-certificate - The tool reports success
- Open the signed .esriAddinX — the Add-In Installation Utility shows Verified ☐ (unchecked), Trusted ☑ (checked)
Size-dependent behavior (tested with multiple add-ins):
Size Key Vault Verified
| ~290 KB | ✓ Works |
| ~300 KB | ✓ Works |
| ~700 KB | ✓ Works |
| ~703 KB | ✗ Fails |
| ~1.1 MB | ✗ Fails |
| ~17 MB | ✗ Fails |
The failure threshold appears to be around 700KB.
Workaround:
Double-signing the add-in — first with Key Vault (for Trusted), then with a PFX certificate (for Verified) — results in two signature entries, and ArcGIS Pro accepts the add-in under the "Require Add-Ins to be digitally signed by a trusted publisher" security policy.
Was anybody able to sign addins larger than the observed threshold?