Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


You configure your connection string within Microsoft Biztalk Adapter for DB2 to use Kerberos to securely connect to a DB2 database on z/OS. When you run the application, it fails, and you receive the following error message:

Could not connect to data source 'Datasource':
An error occured validating the server token: The token supplied to the function is invalid 

More information

The Microsoft DRDA Application Requester runtime library is updated in this update to support the DRDA ACCSEC (Access Security) and SECCHK (Security Check) protocol code points by using Kerberos security authentication when you connect to IBM DB2 for z/OS.


The fix that resolves this problem is included in the following cumulative updates for Host Integration Server:

Cumulative Update 2 for Host Integration Server 2016

Cumulative Update 4 for Host Integration Server 2013


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology Microsoft uses to describe software updates.

Third-party information disclaimer

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!