How to Use Azure Key Vault in Dynamics 365 F&O

1. Create & Setup a new Key Vault

2. Setup Permissions

3. Setup Dynamics 365 Finance & Operations

4. Usage via X++

public class GSKeyVaultJob
{
public static void main(Args _args)
{
KeyVaultCertificateTable certTable = KeyVaultCertificateTable::findByName("TestSecret");
str value = KeyVaultCertificateHelper::getManualSecretValue(certTable.RecId);
info(value);
}
}

Helper classes

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Güven Şahin

Güven Şahin

Dynamics 365 F&O | Dynamics AX | Software Developer — guvensahin.com