Hi everyone,
I'm trying to use the encryption functionality provided by Azure Key Vault.
I saw that we have a reference in AOT to Microsoft.Dynamics.AX.KeyVaultEncryptionUtility and method Encrypt inside it.
I have my Key Vault created in Azure Portal and set in Key Vault Parameters in D365FO (validated successfully).

My code (developed just to test) goes like this:

When i run the class, I'm getting the following error:

I also tried the development of a class library, referencing version 3.0.5.0 of Microsoft.Azure.KeyVault, where we make an authenticaiton request to the key vault and use the EncryptAsync method of the KeyVaultClient instance but I get the exact same error. I'm wondering why the system is fetching version 1.0.0.0 of Microsoft.Azure.KeyVault instead of the version referenced in the class library.
Can someone help me please?
Thanks in advance.
Note: I'm new in the community and this is my first post. If this is not clear enough please let me know so that I can provide some more details.