vsts-arm-outputs
vsts-arm-outputs copied to clipboard
Unhandled exception during ARM Outputs Task Error: secret must be a non empty string
Starting: ARM Outputs
Task : ARM Outputs Description : This task reads the output values of an ARM deployment and sets them as Azure Pipelines variables. Version : 6.0.0 Author : Kees Schollaart Help : More Information
Logging in using ApplicationTokenCredentials, authScheme is 'WorkloadIdentityFederation' Unhandled exception during ARM Outputs Task Error: secret must be a non empty string. at new ApplicationTokenCredentials (webpack://arm-outputs/./node_modules/ms-rest-azure/lib/credentials/applicationTokenCredentials.js?:83:13) at AzureDevOpsArmOutputsTaskHost.getCredentials (webpack://arm-outputs/./dist/index.js?:100:31) at AzureDevOpsArmOutputsTaskHost.eval (webpack://arm-outputs/./dist/index.js?:33:40) at next (native) at eval (webpack://arm-outputs/./dist/index.js?:8:71) at __awaiter (webpack://arm-outputs/./dist/index.js?:4:12) at AzureDevOpsArmOutputsTaskHost.run (webpack://arm-outputs/./dist/index.js?:20:26) at eval (webpack://arm-outputs/./dist/index.js?:118:31) at Object../dist/index.js (C:\Azure\SHP_work_tasks\ARM Outputs_584bcff2-3353-4f11-872b-6ba01267a972\6.0.0\index.js:131:1) at webpack_require (C:\Azure\SHP_work_tasks\ARM Outputs_584bcff2-3353-4f11-872b-6ba01267a972\6.0.0\index.js:30:30) ##[error]Error: secret must be a non empty string. Finishing: ARM Outputs
Same as #383
I get the feeling this project is not being maintained anymore as it was last updated what 3 years ago. A pity...
Hi,
we are experiencing the same error.
@keesschollaart81 Is there any chance that this will be fixed?
I tried with both versions 5.X and 6.X
You can fix it by removing the task from your pipeline and use the approach as illustrated in this article: https://ochzhen.com/blog/parse-arm-template-outputs-in-azure-pipelines