Power Platform Build Tools automate common build and deployment tasks related to Power Platform. This includes synchronization of solution metadata (a.k.a. solutions) between development environments and source control, generating build artifacts, deploying to downstream environments, provisioning/de-provisioning of environments, and the ability to perform static analysis checks against your solution using the PowerApps checker service.
MIT License
191
stars
39
forks
source link
login issue Error: The input does not contain any JSON tokens #686
Hello I have systematically since few months a login error thrown after validation my authenticated account using the pac auth create command
the error is displayed also when trying to list the authentication profile w
the error is the following
Error: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
it happens for example when trying to authenticate to a new environment
Error: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
PS; I replaced the environment name and username /upn by sample ones
as you can see in the command output that the authenticate is successful but always throws the same error
here's another command that throws the same error just to list the auth profile with pac auth list
Error: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
Usage: pac auth list
This command doesn't take any arguments.
this is encountered on company windows 10 pc on which proxy configuration is used
but the issue is also encountered in same workstation when connected to broadband internet connection without proxy and internal network connectivity with proxy settings disabled
the version being used is of powerapps cli is 1.29.11
but previous version show the same error ( don't think it's version related )
Hello I have systematically since few months a login error thrown after validation my authenticated account using the pac auth create command the error is displayed also when trying to list the authentication profile w
the error is the following Error: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
it happens for example when trying to authenticate to a new environment
pac auth create --name toto --url https://toto.crm4.dynamics.com 'my.email@mydomain.com' authenticated successfully. Validating connection... Default organization: toto Connected to... toto Connected as toto@mydomain.com Microsoft PowerPlatform CLI Version: 1.27.6+g9f62afb Online documentation: https://aka.ms/PowerPlatformCLI Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions
Error: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
PS; I replaced the environment name and username /upn by sample ones
as you can see in the command output that the authenticate is successful but always throws the same error
here's another command that throws the same error just to list the auth profile with pac auth list
pac auth list Microsoft PowerPlatform CLI Version: 1.27.6+g9f62afb Online documentation: https://aka.ms/PowerPlatformCLI Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions
Error: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
Usage: pac auth list
This command doesn't take any arguments.
this is encountered on company windows 10 pc on which proxy configuration is used
but the issue is also encountered in same workstation when connected to broadband internet connection without proxy and internal network connectivity with proxy settings disabled
the version being used is of powerapps cli is 1.29.11
but previous version show the same error ( don't think it's version related )