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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Connecting to UAT environment from DevTest Environment and KeyVault Secrets

(1) ShareShare
ReportReport
Posted on by 8
Hello, I have been working on debugging a UAT environment through a DevTest environment and had some issues with encryption. I have checked through this post here:
Encryption error while debugging UAT environment from Devtest environment (dynamics.com)

I see that importing in secrets between environments isn't possible since that's a Microsoft limitation currently. In this case however, since the Devtest environment is connecting to the UAT database rather than importing the data, I would have thought the secrets could carry over in this way. Correct me if I am wrong, but is there still a way to get around the issue of having to re-enter in secrets when connecting through Devtest? Thanks in advance.
I have the same question (0)
  • Suggested answer
    PerezAguiar Profile Picture
    Microsoft Employee on at
    hey!
     
    The link you've shared seems broken.  However, and as a general Security behavior:  If environment 1 is encrypted with some credentials/key, any kind of access to this data either from another environment or from a tool that will simply connect, will require to decrypt such data with the right key.  Other environments most likely will NOT be encrypted the same way or with same key.  Therefore, you should use the appropriate credentials/Key to access the data on it.
     
    This is valid to connect/read the data from that environment.  Even if it's another environment on the same tenant, the condition should still apply:  Connection will require the appropriate key/Credentials.
     
    Regards,
  • Community member Profile Picture
    4 on at
  • Community member Profile Picture
    8 on at
    Hello,
     
    the link should be updated properly now, not sure why it wasn't working before.
    Thanks for the response, that clears up a lot for me. Currently both environments should be using the same keys from the same keyvault. When you say connection will require the appropriate credentials, shouldn't this follow those conditions then? Or is the encryption still going to be different?
  • Suggested answer
    Anton Venter Profile Picture
    20,345 Super User 2025 Season 2 on at
    The Key vault secret to access the Key vault in F&O, is encrypted and stored in the database. The key used to encrypt/decrypt this data is on the environment/AOS. Each environment/AOS has its own key. The problem is, you are accessing the UAT data from the Dev environment which is probably using the Dev key to decrypt the Key vault secret.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 659 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans