"Forbidden You don't have permission to access this resource"" on app service while deployed from Azure devops

Pranav 1 Reputation point
2020-12-23T16:37:11.397+00:00

Hey,

I deployed a webapp using GIthub > Azure devops with pipeline to > App service in Azure and that was working fine till yesterday and last night I deleted to recreate it. And I tried to create it today again the pipeline says all fine deployment succeeded, but when I hit URL it says: "Forbidden
You don't have permission to access this resource.". Can you please help me with this?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,509 questions
{count} votes

3 answers

Sort by: Most helpful
  1. kobulloc-MSFT 24,246 Reputation points Microsoft Employee
    2020-12-28T19:40:29.017+00:00

    There is an issue where you need to re-establish the connection after deleting and recreating an app service. Make sure that you did this during your redeployment.

    If it's not that I would look into your DevOps deployment. For DevOps questions, you'll want to post your question in the following forum, where the Azure DevOps team and DevOps community are actively answering questions:
    https://developercommunity.visualstudio.com/spaces/21/index.html

    0 comments No comments

  2. Pranav 1 Reputation point
    2020-12-31T02:54:41.487+00:00

    Thanks @Anonymous

    I am still facing the issue even after these much days. Yesterday it seems to work for a single deployment(taking data from Azure repo) and again it had stopped working. I am unable to understand the Root cause now. Connections are once again established while re-creating. Here are the required screenshot of service connection and error.52421-service-connection.png52337-forbidden.png

    0 comments No comments

  3. Pranav 1 Reputation point
    2020-12-31T03:04:09.02+00:00

    @Anonymous Additional Screenshot from Azure portal.I am currenlty working on Free Version, I have to create a CI/CD pipeline for One organisation based out in US next week52402-resource-health.png. SO I need your help to solve this issue as soon as possible. 52375-azure-deplyment.png52414-dep.png52416-access-restriction.png