Hello tarun k,
Thanks for your question
Is the task a windows task? If it is then you will need a windows agent not a linux agent.
The Tosca task is failing in a container agent because it's trying to use Windows file paths (C:\azp\agent\_work\3\s\Main\Resources\logs
) in a Linux container environment.
Maybe you can modify your Tosca task configuration to use relative paths instead of absolute Windows-style paths. For example, change C:\azp\agent_work\3\s\Main\Resources\logs to ./Main/Resources/logs
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola