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)
  • 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

  • Suggested answer
    nunomaia Profile Picture
    25 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 

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 734 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 636

#3
Martin Dráb Profile Picture

Martin Dráb 553 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans