Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Possible way of Import...
Finance forum
Answered

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

Posted on by 69

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

  • Suggested answer
    nunomaia Profile Picture
    nunomaia 10,684 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
    huijij 19,803 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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,326 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,166 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans