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

D35FO OnPerm deployment Encrypt credentials step

(0) ShareShare
ReportReport
Posted on by 3,371

Could you please explain me what's meant to be done in point 15?

Encrypt credentials
On any client machine, install the encipherment certificate in the LocalMachine\My certificate store.
Grant the current user read access to the private key of this certificate.
Create the Credentials.json file, as shown here.

{
"AosPrincipal": {
"AccountPassword": "<encryptedDomainUserPassword>"
},
"AosSqlAuth": {
"SqlUser": "<encryptedSqlUser>",
"SqlPwd": "<encryptedSqlPassword>"
}
}


AccountPassword is the encrypted domain user password for the AOS domain user (contoso\axserviceuser).
SqlUser is the encrypted SQL user (axdbadmin) that has access to the Finance and Operations database (AXDBRAIN), and SqlPassword is the encrypted SQL password.
Copy the .json file to the SMB file share, \\AX7SQLAOFILE1\agent\Credentials\Credentials.json.

Update the Credentials.json file with encrypted values.

Service fabric API to encrypt text and copy it to the clipboard.

# Service fabric API to encrypt text and copy it to the clipboard. Invoke-ServiceFabricEncryptText -Text '<textToEncrypt>' -CertThumbprint '<DataEncipherment Thumbprint>' -CertStore -StoreLocation LocalMachine -StoreName My | clip

docs.microsoft.com/.../setup-deploy-on-premises-environments

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Hichem.Chekebkeb Profile Picture
    3,371 on at

    My bad, I omitted the description of the certificate in the beginning of the setup.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans