@Dhirendra KUMAR The Azure App Service environment is sandboxed and prevents any changes from deployment scripts to be made. If you really need a custom environment and dependencies for running your application, you should consider running your application as a custom container.
Since you are using a container, if required, you have a few other services where you can host your application as well