Dynamics 365 Business Central – Message “The client and/or agent is not authorised” when retrieving VAT Periods

We had a user receive the message below when attempting to retrieve the VAT periods as part of the Making Tax Digital process.

The full message reads “Not possible to retrieve VAT return periods. Reason from the HMRC server. The client and/or agent is not authorised”

You can retrieve the full message by going to “Service Connections” and selecting “HMRC VAT Setup” and clicking the option “Http log”

You then highlight the row in question and click “View Details”

When reviewing the log it shows the following complete error:

After investigation it appears the error suggests there has been an issue with the registration process for Making Tax Digital.

In this instance they contacted HMRC who confirmed their activation hadn’t been completed due to a backlog and to try again in a few days time.

Therefore this issue should be resolved as soon as HMRC complete the registration process for them.

Therefore if anyone else comes across this issue its best to check with HMRC to ensure everything is fine with the registration in the first instance.

I hope this helps anyone else who comes across this issue.

Thanks for reading.

Dynamics GP – Error “No Obligations found for the year” when retrieving VAT Obligations – Issue with the version of the VAT100ElectronicSubmission DLL file

We had a client report the error “No Obligations found for the Year 2020” when trying to retrieve the obligations when doing the VAT return. They were running Dynamics GP 2018 version 18.00.0704.

The exact error is below

We checked all the usual things like company VAT number, and also tried when logged in as “sa” even though the relevant service pack has been applied, however the error persisted. (more details on troubleshooting can be found in this Microsoft link)

I then had a colleague run a fiddler trace and he noticed that on the tunnel to the HRMC API there were calls using TLS 1.0 and on further investigation the message “The function requested is not supported”

My colleague suspected a change on the HRMC side which was preventing TLS 1.0 from working.

We suspected the file VAT100ElectronicSubmission.DLL located in the GP client folder was responsible for this functionality so I checked the version currently installed which was 18.0.705.0

I then copied the VAT100ElectronicSubmission.dll file from my Dynamics GP 18.3 local install which is version 18.3.1181.0 to the users PC. (i.e. the latest version)

Now when we tried again this all worked! The obligations were retrieved successfully and we are now presented with the “Select Obligations” window

We also tried another PC which had previously had the same issue and this also worked!

Therefore we can only surmise that something has changed at HMRC’s side and there are now issues with certain versions of the VAT100ElectronicSubmission.dll files on older versions of GP.

We now plan on rolling out Dynamics GP 18.3 to all PCs at this site and are waiting to see if this affects other users on the older version.


Again we can only guess, however it seems something may have changed at the HMRC side which is preventing making tax digital submissions when you have an older version of the VAT100ElectronicSubmission.dll file. We found the solution is to replace this file with the most recent copy available with Dynamics GP 18.3.

Fingers crossed this helps others who may encounter this issue.

Thanks for reading!