web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Possible way of Importing KeyVault Parameter values from one environment to another

(0) ShareShare
ReportReport
Posted on by 108

Hi Community, 

I am working to restore configuration data in an environment after refreshed from another environment. Configuration data like: Azure Storage and Folders, Interface Parameters, Batch Jobs, KeyVault connection details. All passwords are stored in Keyvault and hence it is the pre-requisite entity to be restored first.

However, when I tried importing the data-entity for Keyvault parameter, I get the below error:

Encryption error occured with exception: Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionException: Encryption error occured with exception: Microsoft.Dynamics.AX.Configuration.CertificateHandler.NoCertificateFoundException: No certificate found for id XXXX

Based on my searching capabilities, I understand that certain data is encrypted which environment-specific fields in the target database. These values get dropped purposefully and need to be re-entered.

I wanted to ask if someone had a similar requirement for restoring configuration data in a more convenient/automated way. Are there any other options to restore such configuration values.

Much appreciate your help and response

Ankit

I have the same question (0)
  • Suggested answer
    nunomaia Profile Picture
    18 Moderator on at
    RE: Possible way of Importing KeyVault Parameter values from one environment to another

    When you restore a database all encrypted will be lost, that is not possible to overcome.

    Settings in Key Vault are not lost, but it is a good practice to have a Key Vault for each environment 

  • Verified answer
    huijij Profile Picture
    19,811 on at
    RE: Possible way of Importing KeyVault Parameter values from one environment to another

    Hi Ankit,

    Azure Key Vault provides the capability to import, store, and manage cryptographic keys and certificates that can be securely accessed as needed.docs.microsoft.com/.../set-up-key-vault

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans