question

EvanSanford-4245 avatar image
0 Votes"
EvanSanford-4245 asked naniats005-9492 commented

Getting an error "You do not have permission to view this directory or page." when trying to browse deployed application using Azure App Service?

96809-subscriptionaccesscontrolsetttings.pngI am trying to browse a deployed application using Azure App Service. A build and release pipeline was used to deploy the application. I do use an active service connection that connects to my subscription, which includes the Azure App service I am using. I did check that the pipelines I am using are allowed to use the service connection. They were existent in the usage history of the service connection. I also already checked that the deployment was successful from the Azure DevOps side and uses the correct app service.

I also have some attached screenshots with some permissions currently established for myself regarding the app service, subscription, etc.

Can you please give me an idea of what the root cause might be in this case?96915-subscriptionaccesscontrolsettting![96899-serviceconnectionsettings.png96900-appserviceaccesscontrolsettings.pngs.png][4]


[4]: /answers/storage/attachments/96899-serviceconnectionsettings.png

azure-app-configuration
· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@EvanSanford-4245, thank you for reaching out to us. A usual cause for this type of error after deploying through pipelines is a miss in the pipeline. To find more information about the miss, can you enable detailed Logging in the App Service by following Hafiz's answer here: Azure website message “You do not have permission to view this directory or page.”. What to do??

After enabling, can you share the error message to me to help you further?


0 Votes 0 ·

@EvanSanford-4245 , just checking in to see if you got a chance to check out my comment above.

0 Votes 0 ·

@EvanSanford-4245 , just checking in to see if you got a chance to check out my comment above.

0 Votes 0 ·

Good morning, I did see your comment. I actually ended up fixing the problem by fixing my pipeline such that the application is deployed properly.

1 Vote 1 ·

So, does my statement "A usual cause for this type of error after deploying through pipelines is a miss in the pipeline." help? If yes, I will post it as an answer, it will help the us and the community.

0 Votes 0 ·
Show more comments

i thick this error is related with release pipe line if the deployment is done by azure devops.

in the release pipeline task u need to mention package folder path upto artifact file like upto .zip file

something like this "$(System.DefaultWorkingDirectory)/_feture pipe line-clone/drop/WebAppgit1.zip"

this resolved the issue for me

0 Votes 0 ·
LGNDDOLLABOUTIQUE-4440 avatar image
0 Votes"
LGNDDOLLABOUTIQUE-4440 answered

Hi thank you for reaching out. I will be working on 5he Aim today to give access to everyone amazingly smooth. Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

singhh-msft avatar image
0 Votes"
singhh-msft answered singhh-msft commented

@EvanSanford-4245, thank you for reaching out to us. A usual cause for this type of error after deploying through pipelines is a miss in the pipeline. To find more information about the miss, can you enable detailed Logging in the App Service by following Hafiz's answer here: Azure website message “You do not have permission to view this directory or page.”. What to do??. After this, you will get to know about the exact miss in the deployment.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@EvanSanford-4245 , just checking in to see if you got a chance to check my answer above.

0 Votes 0 ·

@EvanSanford-4245 , just checking in to see if you got a chance to check my answer above.

0 Votes 0 ·