Reputation: 1
I am trying to connect CodedUI tests to tfs.
[TestMethod, Priority(1), DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase", "https://[company].visualstudio.com;[projectname]", "123", DataAccessMethod.Sequential)]
I am getting the following error:
Message: The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (https://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: Type 'Microsoft.IdentityModel.Clients.ActiveDirectory.AdalSilentTokenAcquisitionException' in Assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=3.17.2.31801, Culture=neutral, PublicKeyToken=31bf3856ad364e35' is not marked as serializable.
This worked just fine before I reset my active directory password.
Upvotes: 0
Views: 106
Reputation: 1
I ran into the same issue after updating my VSTS password. I did several things at the same time, so I'm not exactly sure if one particular action or a combination of things resolved the issue.
That seems to have resolved the issue I was experiencing. Hope that helps!
Upvotes: 0