I have a web application with the following code below, when I run the function below on my local machine everything works fine, but when i run from the web app in azure thats i