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 :
Microsoft Dynamics CRM (Archived)

Data Encryption Error when attempting to create New User

(0) ShareShare
ReportReport
Posted on by 330

On my pre-production environment, I am getting an error when trying to create a new User.

3201.Error.JPG

We do not have Data Encryption enabled on pre-production, so I'm not sure where the encrypted fields are. I have tried many things to resolve it, the most promising being running these commands on our pre-production DB:

UPDATE EmailServerProfile SET IncomingPassword=null
UPDATE EmailServerProfile SET OutgoingPassword=null
UPDATE Mailbox SET Password=null
UPDATE Queue SET EmailPassword=null
UPDATE UserSettings SET EmailPassword=null


This has seemed to work for many people on various forums, but while it did clear the present data, I am still unable to create a New User. If I DL the log file of the error, this is what it contains:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Cannot open Sql Encryption Symmetric Key because Symmetric Key password does not exist in Config DB.Detail: 
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>9ec8de5c-722a-4f21-b06f-30731b939d93</ActivityId>
  <ErrorCode>-2147187410</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>Cannot open Sql Encryption Symmetric Key because Symmetric Key password does not exist in Config DB.</Message>
  <Timestamp>2018-03-13T18:23:29.9071551Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>


I can see in the Data Management Settings that Data Encryption is not enabled, but I don't want to enable it if I don't have to. I've been able to create new Users on our pre-production environment before, but it's been a couple of months since I had to so this is the first time I've encountered this error and I'm not quite sure what may have changed on our end in the meantime. I am able to successfully create new Users on our production environment with no issues. I tried to see if Data Encryption was enabled on the Production site, but I got that SSL error that prevents you from seeing the window:

8080.Error.JPG

The thing is, I don't want to Disable the SSL check on the Production DB just to see this window, since everything is working properly there currently.

So, after I apologize in advance if I've left out any helpful information, I'm asking if anyone has encountered this before when trying to add new Users, and can offer any suggestions on how to resolve it.

Thank you in advance for any help you may be able to offer.

*This post is locked for comments

I have the same question (0)
  • C. Dennett Profile Picture
    330 on at
    RE: Data Encryption Error when attempting to create New User

    Hi Ravi and thanks for the reply,

    I don't want to enable data encryption on pre-prod, because I'm almost certain that it was not enabled before, or if it was and somehow got "turned off", I don't have the key readily available (contractor set up our pre-prod and prod environments, and I maintain them) and am not sure what consequences creating a new key will have.

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Data Encryption Error when attempting to create New User

    Hi,

    Any specific reason why you don't want to enable data encruption. The ssl encryotion you are getting on your prod is asking you to access crm with https.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans