azure function has "access denied" after starting app...

JH 1 Reputation point
2021-07-05T01:19:43.847+00:00

Environment : Azure, Java8, VS Code

Step1. Make Azure Service "Resource Group" -> Make Azure Function in Portal
Step2. I follow "https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-java"
Step3. Build is Success and when i deploy then Failed

Msg is Access Denied..

what can i do this issue..>??111578-%E1%84%8F%E1%85%A2%E1%86%B8%E1%84%8E%E1%85%A51.png

111626-%E1%84%8F%E1%85%A2%E1%86%B8%E1%84%8E%E1%85%A52.png

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,181 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 67,986 Reputation points
    2021-07-05T04:39:58.58+00:00

    Hi @JH

    Welcome to Microsoft Q&A! Thanks for posting the question.

    As per the error message the issue is more towards your system policy that has denied the request to the SCM URL.
    "Your system policy has denied access to the requested URL.
    For assistance, contact your network support team."

    As you are deploying using zip deployment I will suggest you to reach out to your network team and verify if *.scm.azurewebsites.net is allowed at their end.
    The zip deployment will make the request to <function_app>.scm.azurewebsites.net URL.