Dynamics 365 Business Central: Isolated Storage and SecretText support.


Microsoft introduced a new data type called SecretText in the Dynamics 365 Business Central 2023 Wave 2 release. This data type is useful for protecting secrets in AL code during debugging. However, the SecretText data type cannot be used for storing secrets in the Isolated Storage natively. Currently, the Isolated Storage module only supports Text parameters. Microsoft plans to add full support for SecretText in Isolated Storage methods in the Dynamics 365 Business Central version 24 release. In the meantime, there are limitations on handling SecretText objects in the Isolated Storage. You can read a value from Isolated Storage as SecretText by creating a NonDebuggable procedure, but writing a SecretText variable in the Isolated Storage is not currently possible.


Article 15m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time