Code Signing with Azure KeyVault -You are unauthorized to view these contents.

Maria Frederiksen 20 Reputation points
2025-03-04T15:06:31.27+00:00

I have an Azure account, I have gone through all the steps for an app to Business Central, and now I need to Code Signing. I have made af KeyVault, but when I want to ad the Certificate, the menu +Generet/Import is gray, and the text say You are unauthorized to view these contents.

I have looked at the AccessControl (IAM), and I am Key Vault Administrator, Owner of Subscription, Rexssource group and This resource (MyApp).

At Access Policies I have Key Permissions, Secret Permissions, and Certificat Permissions.Certificat Permissions is set to All.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,448 questions
{count} votes

Accepted answer
  1. Rukmini 3,841 Reputation points Microsoft External Staff Moderator
    2025-03-24T05:50:42.2033333+00:00

    Hi @Maria Frederiksen,

    Thanks for your reply.

    Azure only accepts .pfx files for certificates. Use NAVSIP.dll (special version) to use SignTool.

    Register NAVSIP.dll using PowerShell (as admin):

    
    regsvr32 /s c:*\NavSip.dll
    
    
    • Find the certificate thumbprint and Sign the file using SignTool in PowerShell (as admin):
    
    signtool sign /sha1 [your certificate thumbprint] /tr http://timestamp.sectigo.com /td sha256 /fd sha256 /n [Your Organization Name] "path\to\fileToSign.app"
    
    

    I'm glad that you were able to identify your issue.

    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.

    Issue : Unable to perform code Signing in Azure Key Vault.

    Please click "Accept my answer" if the provided information is helpful. This will assist other community members facing similar issues in finding the correct solution.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.