Azure Local Windows Admin Center won't run - error 501 when retrieving the certificate

Pawel Niemczyk 0 Reputation points
2025-08-20T16:46:38.8466667+00:00

Hello,

Fresh deployment of Azure Local with latest image.

Went through all the WDAC audit/enforce process and extension finally installed.

Initially won't run because it tries to run with Network Service which doesn't have permissions to run services. Changed to Local System and it finally starts/runs.

Can't get it to actually work however. It is throwing error 501 at step RetrieveCertificate.

{

"status": "error",

"code": 501,

"name": "RetrieveCertificate",

"formattedMessage": {

"message": "Failed to retrieve certificate from key vault using app service",

"lang": "en-US"

}

}

Any ideas how to get around this?

Azure Local
{count} votes

1 answer

Sort by: Most helpful
  1. Ankit Yadav 410 Reputation points Microsoft External Staff Moderator
    2025-08-29T17:39:20.5566667+00:00

    Hello Pawel Niemczyk,

    At this point with given information, we suspect that error code 501 "Failed to retrieve certificate from key vault using app service" is either due to key vault access permission issue or a misconfiguration in the certificate retrieval process. 

     

    To fix the key vault access permission issue :

    1. The Network ⁠Service account may not have sufficient permissions to access the certificate store or Key Vault. The Local System change you made suggests a permissions issue.
    2. ⁠Ensure proper delegation is configured for the Windows Admin Center gateway to access required resources.
    3. ⁠If you're using Azure Key Vault integration, ensure the Key Vault extension is properly configured with the correct authentication settings.

    To fix the certificate retrieval process : 

    Consider using the standard self-signed certificate approach instead of Key Vault retrieval.

    • Use SSL_CERTIFICATE_OPTION=generate during WAC installation.
    • ⁠Export and import the generated certificate to establish trust.
    0 comments No comments

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.