Hello,
In order for developers not to need direct access to dev or production resources, I would advise to set up a CI/CD pipeline using Azure DevOps for deployment. Developers commit their code, and the pipeline handles deployment.
You could also, as part of the deployment process, write the version of the deployed application to a file that is accessible via a HTTP endpoint.
You could consider using a separate deployment slot :
https://learn.microsoft.com/en-us/azure/app-service/deploy-staging-slots
Keep in mind that providing direct access to production resources, even read-only access, can carry risks. It's generally considered best practice to restrict access to production as much as possible and use automated processes for deployment and monitoring.
If you found this answer usefull. Please mark it as accepted to help others users with same questions find this topic