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:
- Allow internet connectivity
- Configure a AzureKeyVault service tag
- Configure an AzureKeyVault service tag with regional scope. Make sure to configure the tag in the region where you're deploying the infrastructure.
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:
- Allow internet connectivity
- Configure an AzureActiveDirectory service tag.
If you're using a network security group instead of a firewall, add outbound rules to allow installation.
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.