Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Issues setting up MTD on Dynamics 365 F&O

(0) ShareShare
ReportReport
Posted on by

Hi,

I am trying to set up MTD on Dynamics F&O using the instructions here...
https://docs.microsoft.com/en-us/dynamics365/finance/localizations/emea-gbr-mtd-vat-integration

I
've got down to the step where I have to 'obtain an authorisation code for production'

When I go onto the web applications page I get the below error straight away.

Encryption error occured. with exception: Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionException: Encryption error occured. with exception: Microsoft.Dynamics.AX.Configuration.CertificateHandler.NoCertificateFoundException: No certificate found for id '87EB9CD40DFBDA20CBFF6111081FEEFC4FFA7AF9'. at Microsoft.Dynamics.AX.Configuration.CertificateHandler.CertificateHandlerBase.GetCertificatesForIdFromLocalStore(String id) at Microsoft.Dynamics.AX.Configuration.CertificateHandler.CertificateHandlerBase.GetFirstCertificateForId(String id) at Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionEngine.GetCryptoServiceProviderByThumbprintBuffer(String idList, Byte[] thumbprint) at Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionEngine.GetCryptoServiceProviderByThumbprintBuffer(String idList, Byte[] thumbprint) at Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionEngine.Decrypt(Byte[] cipher, String purpose)

If I ignore this and continue to follow the instructions on the linnk above then I get the following errors when I press 'get authorise code' (hoping you can see the below screen shot, if not then I can paste a bigger version)

pastedimage1578996706415v2.png

Is anyone able to advise where I am going wrong here? The instructions said that the web application set up should all be set up for me when I import the data entities from the LCS so I am unclear on what I can do to rectify this.

Thanks in advance!

Sam

  • Prashanth Titus Profile Picture
    5 on at
    RE: Issues setting up MTD on Dynamics 365 F&O

    Hi Sam Turnock,

    I'm facing the same error while opening the channel database.

    Encryption error occured with exception: Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionException:

    Encryption error occured with exception: Microsoft.Dynamics.AX.Configuration.CertificateHandler.NoCertificateFoundException:

    No certificate found for id '63CD22710CB8B6C22649F43481CE63CD99490B34'.at

    Microsoft.Dynamics.AX.Configuration.CertificateHandler.CertificateHandlerBase.GetCertificateFromLocalStore(X509FindType findType, String findValue)at

    Microsoft.Dynamics.AX.Configuration.CertificateHandler.CertificateHandlerBase.GetFirstCertificateForId(String id)at

    Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionEngine.GetCryptoServiceProviderByThumbprintBuffer(String idList, Byte[] thumbprint)at

    Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionEngine.GetCryptoServiceProviderByThumbprintBuffer(String idList, Byte[] thumbprint)at

    Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionEngine.DecryptionInternal(Byte[] cipher, Boolean validateSignature, String purpose)

    could you please let me know how did you solved this issue.

    Thanks,

    Prashanth Titus

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Issues setting up MTD on Dynamics 365 F&O

    This has been resolved.

    Thanks

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans