WCF Service for connecting TFS to NAV
You can use this service as Service Hook in TFS (on prem or Teams Services) which will take the Json and send it into NAV Webservice as text. Then you can do what you want inside NAV with the data.
Service needs to be hosted in IIS as WebApplication.
In web.config specify the parameters in section applicationSettings, mainly WSUserName, WSUserPwd, WSUserDomain and URL for the NAV Web service.
In TFS create new Service Hook of type Web Hook to address like http://server/TFS2NAV/TFS2NAVListener.svc/ToNAV and select which info you want to send to this hook. The Json with the info will ends in your NAV.
The web service should have one parameter of type Text (no length limit) and should return Text. By default I am expecting NTLM. You canchange that in the web.config.