FailedToUploadSshPrivateKeyToKeyVault

Juan Vélez 1 Reputation point
2023-08-22T19:56:05.21+00:00

I am working with Azure center for sap solutions, when Im triying to install the SAP/S4HANA app the tool launch this message.

Error code FailedToUploadSshPrivateKeyToKeyVault Error details Error message: Failed to upload private ssh key to key vault /subscriptions/b2197690-dd8f-43d3-9b53-25e72dd7c511/resourceGroups/mrg-JG1-35b2b6/providers/Microsoft.KeyVault/vaults/jg1169-bdaa-188d0b61cd91, workload id /subscriptions/b2197690-dd8f-43d3-9b53-25e72dd7c511/resourceGroups/JG_SAP_Tests/providers/Microsoft.Workloads/sapVirtualInstances/JG1.

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,318 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,042 questions
SAP HANA on Azure Large Instances
SAP HANA on Azure Large Instances
Microsoft branding terminology for an Azure offer to run HANA instances on SAP HANA hardware deployed in Large Instance stamps in different Azure regions.
123 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 17,876 Reputation points Microsoft Employee
    2023-08-24T06:10:34.1033333+00:00

    @Anonymous

    Thank you for posting your query on Microsoft Q&A, from above description I could understand that you are trying to deploy Azure Center for SAP solutions and getting error Error code FailedToUploadSshPrivateKeyToKeyVault.

    Please do correct in case of any discrepancy by responding in the comments section:

    The above error could occur if the network connectivity does not allow access to Key Vault service. Kindly follow the given network recommendation and let me know if the issue persists. If yes then we might need to repro with fiddler trace.

    Azure Center for SAP solutions creates a key vault to store and access the secret keys during software installation. This key vault also stores the SAP system password. To allow access to this key vault, you can:

    Azure Center for SAP solutions uses Azure AD to get the authentication token for obtaining secrets from a managed key vault during SAP installation. To allow access to Azure AD, you can:

    If you're using a network security group instead of a firewall, add outbound rules to allow installation.

    User's image

    Thanks,

    Akshay Kaushik

    Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.


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.