Why I try to use this excellent package with TFS Online I get this error.
C:\a\src.deploy\Variables.targets (30): The "GetTeamBuildNumber" task failed unexpectedly.
Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access https://xxxxx.visualstudio.com/defaultcollection.
I'm wondering if the account that the build agent is running with needs another permission that it doesn't get with the online version by default.
I'm queuing the build using the TFS Owners account (mine).
I'm not the strongest MSBuild guy so any debugging steps / suggestion would be most welcome.