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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Encryption error while debugging UAT environment from Devtest environment

(1) ShareShare
ReportReport
Posted on by 8
Hello, I have been working with debugging my UAT environment based through a Devtest environment following this link here:
Debug a copy of the production database - Finance & Operations | Dynamics 365 | Microsoft Learn

However I have run into an issue. When making a connection to the UAT environment from my Devtest, I have this encryption error that pops up and doesn't let me create new contracts in the system.
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 -----

I re-entered in my secret keys in the key vault parameters, and that fixes it for Devtest, but it then locks out any users from writing anything into the UAT environment. It seems currently that only one environment can write to the environment at a time, which shouldn't happen due to the page linked above stating that transactions should go through fine on the UAT environment while I am debugging. I have a feeling it may be something to do with the environments encrypting the secret keys from each other, but I'm not certain. Is there a way to solve this issue? Thanks.
I have the same question (0)
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    You can check the old threads about this error. It mentioned Certain Data is Encrypted Which Environment-Specific Fields in the Target DataBase. These value of Dropped PurposeFully and Need to be re-entered. Solved: Possible way of Importing KeyVault Parameter values from one environment to another (dynamics.com)
    This article is also about the description of encryption:Golden configuration promotion - Finance & Operations | Dynamics 365 | Microsoft Learn

    In addition, you can view this blog, it also mentioned this error. You can run the script in the blog, then execute the IIS reset and restart the VM.
    https://dynamicsexemplified.wordpress.com/2021/08/10/dealing-with-crypto-encryption-error-in-dynamics-365-finance-and-supply-chain-tier-1-developer-machine/
    Best Regards,
    Hana
  • Community member Profile Picture
    8 on at
    I just want to clarify something, does connecting to the UAT database from the DevTest environment count as importing the database? I understand that the data is encrypted and needs to be re-entered, but I am not directly importing the database. Is it still a Microsoft limitation that I would need to re-enter the keys?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 509 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 375

#3
Adis Profile Picture

Adis 268 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans