Hello Amrutanshu P, Welcome to Microsoft Q&A and Thank you for posting your query here!
I would request you to please go through the below document to understand how to deploy applications to compute nodes with Batch application packages :
https://learn.microsoft.com/en-us/azure/batch/batch-application-packages
To run a console application in Azure Batch Service, you can use the Microsoft Azure Batch management client library for .NET. This library supports managing Microsoft Azure Batch resources. You can use the library to create and manage a pool of compute nodes (virtual machines), install the applications you want to run, and schedule jobs to run on the nodes.
To get started, you can install the Microsoft Azure Batch management library for .NET with NuGet. You must have an Microsoft Azure subscription to use this library. Once you have installed the library, you can authenticate the client and start interacting with Microsoft Azure resources.
You can find more information on how to use the library in the following links:
You can also find code samples for using the management library for .NET in the following location:
If you have any specific questions or issues, you can file an issue via GitHub Issues or check previous questions or ask new ones on Stack Overflow using Azure and .NET tags.
Please let us know if you have any further queries. I’m happy to assist you.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
-Ekta