web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Making Tax Digital - An error occured while trying to obtain access token.

(1) ShareShare
ReportReport
Posted on by
I am trying to connect the tax web application with the HMRC sandbox, after I get the authorization code and input to get the access token I receive an error saying that /An error occured while trying to obtain access token./ The attachment with template not found./ as showing in the image below.
I trying checking the Import token model mapping along with the other mappings in the Message processing actions but with no luck.
I would be grateful if any one can help with this issue or have a complete guide on how to set up MTD from scratch.
 
I have the same question (0)
  • johnny@365freelancer.com Profile Picture
    17 on at
    Making Tax Digital - An error occured while trying to obtain access token.
    Thank you so much Simona. 
    Disabling the "Run ER import of manually uploaded documents in batch" feature solved the same issue i was trying to fix with Monica for hours!
  • Community member Profile Picture
    10 on at
    Making Tax Digital - An error occured while trying to obtain access token.
    Hello,
     
    I opened a ticket and Microsoft answered to disable the following feature "Run ER import of manually uploaded documents in batch". Afterwards, I successfully obtained the access token 
     
     
    Best regards
    Simona 
  • AB-06091436-0 Profile Picture
    on at
    Making Tax Digital - An error occured while trying to obtain access token.
    Hi Simona, 
     
    Still not resolved 
  • Community member Profile Picture
    10 on at
    Making Tax Digital - An error occured while trying to obtain access token.
    Hello. I have the same error. Have you resolved it?
     
    Best regards
    Simona
  • Suggested answer
    Kevin Xia Profile Picture
    Microsoft Employee on at
    Making Tax Digital - An error occured while trying to obtain access token.
    Hi,
    I found this official document for you: Making Tax Digital – VAT return submission in the United Kingdom - Finance | Dynamics 365 | Microsoft Learn, it explains how to set up the Making Tax Digital for VAT (MTD VAT) feature in Microsoft Dynamics 365 Finance and use it to submit a VAT return in the United Kingdom (UK).
    Best regards,
    Kevin

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 823 User Group Leader

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 491 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans