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

Is there any encryption/decryption framework or library present in D365?

(1) ShareShare
ReportReport
Posted on by 40
Hi Community,
 
I would want to know if any encryption/decryption framework present inside D365 using X++ code.
I would receive an encrypted file to D365 which I need to decrypt. Also, is it possible to encrypt the file before exporting from D365?
 
I have the same question (0)
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi Sourav,
    Microsoft uses encryption technology to protect customer data while at rest in an environment's SQL Server database and Azure Storage.
    All instances utilize Microsoft SQL Server Transparent Data Encryption (TDE) and Azure Storage encryption to perform real-time encryption of data when written to the disk at rest.
    In addition to the default encryption at rest provided above, you can use the encryption API available in the Global X++ class. The methods Global::editEncryptedField() and Global::editEncryptedStringField() use the environment-specific data encryption certificate to perform data encryption and decryption.
    For more details, you can view the links below:
    Encryption in finance and operations apps - Finance & Operations | Dynamics 365 | Microsoft Learn
    Encryption in Microsoft Dynamics 365 - Microsoft Purview (compliance) | Microsoft Learn
    Best Regards,
    Hana
     
  • Suggested answer
    GirishS Profile Picture
    27,827 Moderator on at
    Hi Sourav,
     
    You can refer to the below blog and see if it helps.
     
    Thanks,
    Girish S.
  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    You can use Bouncy castle dll as a reference for encryption and decryption.
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    Hi, You can use PGP encryption to encrypt/decrypt files. You will need to generate public key, private key and passphrase and the receiver of file should also have their set of keys. File will be encrypted with Public Key of receiver and the receiver will decrypt the file using their private key and passphrase. You have to use PGPCore Library, I have done it few years ago but don't have the source code now.
     
    check this article

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 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans