Skip to content

Error: The input does not contain any JSON tokens when run from Devops build pipeline #1116

Answered by alareau
alareau asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I finally figured it out.

I setup the same scheduled task on a win10 workstation and it worked fine.
So I kept investigating

Ended up seeing an interest in entry in the security event log on the server

Process Command Line: "C:\Program Files\dotnet\dotnet.exe" pacTelemetryUpload.dll "C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\PowerAppsCli\telemetry-cache\pac"

Went looking in the directory.
There were 2 extra files not present on my win10 machine (since i never really did any PowerApps work on that workstation)

authprofiles_v2.json
tokenache_spn_msalv3.dat
both files were 0kb

I renamed both those files (with zz in the front). Scheduled task and pipelines started …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by alareau
Comment options

You must be logged in to vote
1 reply
@carm-scaffidi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants