Conda not found /source not found

I having issues with miniconda in a declarative script pipeline where conda command can not be executed on the script creating error messages like conda not found

With absolutely no details provided, my guess is either HOME or PATH env variables are not setup right.