Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

issue with deploying to azure #31

Open
khaled6mmd opened this issue Apr 27, 2020 · 3 comments
Open

issue with deploying to azure #31

khaled6mmd opened this issue Apr 27, 2020 · 3 comments

Comments

@khaled6mmd
Copy link

khaled6mmd commented Apr 27, 2020

first of all the readme.md need to be updated as this part is different Build & Deploy on your own

Now I have tried to deploy through the deploy to azure button

I got this error

Deployment to resource group 'new-test' failed.
Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.

tried to deploy with visual studio 2019 got the same thing
following this article (which was out of date)
https://docs.microsoft.com/en-us/archive/blogs/iwilliams/reseller-storefront

after the second attempt it built successfully (just did redeploy without any modifications)

but still got the default page with this text

Hey, App Service developers!

Your app service is up and running.
Time to take the next step and deploy your code.

tried to publish by the publish option in visual studio

filled all the option Web.config

did not find any option that says secret key to fill
publish succeeded, opened the site got the following message in the browser

[AdalServiceException: Response status code does not indicate success: 401 (Unauthorized).]
   Microsoft.Identity.Core.OAuth2.<GetResponseAsync>d__18`1.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:66

[AdalServiceException: AADSTS7000215: Invalid client secret is provided.
Trace ID: 6c8d61c0-69fd-45b0-a796-6e20a4b83500
Correlation ID: bfd2304e-86f4-4b0d-b1d7-409c7a1db9aa
Timestamp: 2020-04-27 01:06:26Z]
@toellbe
Copy link

toellbe commented May 26, 2020

same here...

@jasonwlindsay
Copy link

I am also having the same issue. After deploying several times using the provided guide, I am still getting the default App Service page with no further details in Azure or the Kudu console. Doesn't work out of the gate despite multiple attempts. Is there any chance this will get updated to detail the azure storage account and/or key vaults? Not a huge fan of how these are generated automagically without the ability to control or override.

@Euticus
Copy link

Euticus commented Jan 29, 2021

Hi I am running into the same issue. Is there any way to debug further once I get to default App service page? Perhaps include resources to run this app locally first? That way I can ensure my keys are hitting the APIs to isolate the issues within Azure App service.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants