Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Command to sign the .app file via Azure Key Vault

(4) ShareShare
ReportReport
Posted on by 160
Hi, 
I'm trying to sign the .app file with the Azure Key Vault but the command provided by Microsoft seems to be wrong. Does anyone have updated command for the same?

this is the command provided by Microsoft which is not working https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-sign-extension#sign-an-app-package-file-with-azure-key-vault:~:text=Sign%20your%20apps%20by%20running%20one%20of%20the%20following%20commands%3A
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    15,059 Super User 2025 Season 1 on at
    Command to sign the .app file via Azure Key Vault
    good to hear.
  • Verified answer
    SC-08040941-0 Profile Picture
    160 on at
    Command to sign the .app file via Azure Key Vault
    I've handled the issue now. The issue is I haven't installed BC on my machine so faced that error because of some missing .dll windows files. So I installed BC OnPremises on my machine and so handled it. 

    thanks @Jainam M. Kothari @Khushbu Rajvi. @YUN ZHU 
  • SC-08040941-0 Profile Picture
    160 on at
    Command to sign the .app file via Azure Key Vault
    Hi @Khushbu Rajvi., thanks again. I've created an empty AL Project and tried to sign its .app file and still facing the same issue.

    the below is the command provided by microsoft which is not working for me;

    sign code azure-key-vault --azure-key-vault-url "https://MyKeyvault.vault.azure.net/" --azure-key-vault-certificate "NameOfMyCertificate" --azure-key-vault-managed-identity --description "Some Description" --description-url "<Description URL>" --verbosity Information "C:/Path/To/File(s)"

    I have also tried AzureSignTool and its command as mentioned in the below blog which is also not working.

    https://madhda.com/it-blog/secure-code-signing-with-azure-key-vault-a-step-by-step-guide/#:~:text=Run%20the%20following%20command%2C%20replacing%20placeholders%20with%20your%20values%3A
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    15,059 Super User 2025 Season 1 on at
    Command to sign the .app file via Azure Key Vault
    Hi, do one thing — create a new small extension and try using that .app file, just to check if the issue is with the current .app file. Please do this and then share the results.
  • SC-08040941-0 Profile Picture
    160 on at
    Command to sign the .app file via Azure Key Vault
    @YUN ZHU @Khushbu Rajvi. 

    I can able to sign other type of files(.exe) using same command. Only the issue persists while signing .app file.
    Kindly share any commands for signing .app file.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    15,059 Super User 2025 Season 1 on at
    Command to sign the .app file via Azure Key Vault
    Its indicates issues with the file's validity or its certificate.
    Ensure the .app file is correctly packaged, not corrupted, and is a valid Business Central extension. Check that the signing certificate is valid, trusted, and properly installed. If the file seems intact, verify that you're using the right version of Business Central.
  • Suggested answer
    YUN ZHU Profile Picture
    81,802 Super User 2025 Season 1 on at
    Command to sign the .app file via Azure Key Vault
    Hi, I haven't heard of any issues with the sign command recently.
    You can submit this feedback to Microsoft.
     
    Thanks.
    ZHU
  • SC-08040941-0 Profile Picture
    160 on at
    Command to sign the .app file via Azure Key Vault
    Thanks for the links @Khushbu Rajvi., but this doesn't solved my issue yet.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    15,059 Super User 2025 Season 1 on at
  • SC-08040941-0 Profile Picture
    160 on at
    Command to sign the .app file via Azure Key Vault
    Yes, I've create a permission set for my app. @Khushbu Rajvi. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,273 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,019 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans