Hi Jakob B,
Welcome to Microsoft Q&A forum.
As I understand, you want to know How to fix delayed TDS version error with pymssql when running backend app service.
As per the screenshot and the error, it states that "stored procedures are not supported with a tds version less than 7".
Try updating client library used for connection to SQL Server.
Let us know if this helps.
Thanks