Closed yokawasa closed 6 years ago
@shigeyf Can you please take a look
I have never seen the error before. Let me check it. Meanwhile I would ask you to check: Did you try with your forked repo?
Yes, I repro this with my forked repo. After I gave Azure ARM/portal to access Github resource, I didn’t see the error anymore. The procedure needed.
Yes, right. You need to allow Azure Portal to use your Github account token to access Github resources. You will need to add Azure Portal as an Authorized OAuth App in Applications settings of your Github account. Please confirm if Azure Portal app is registered in your Github Authorized OAuth App in your personal settings of your Github account. We need to add a documentation to do this registration, since this may not be able to be done in the automation workflow.
Yes, right. You need to allow Azure Portal to use your Github account token to access Github resources. You will need to add Azure Portal as an Authorized OAuth App in Applications settings of your Github account. Please confirm if Azure Portal app is registered in your Github Authorized OAuth App in your personal settings of your Github account. We need to add a documentation to do this registration, since this may not be able to be done in the automation workflow.
Any documentation on how to do this?
Its already authorized, I am still getting the same issue.
Same problem i too facing
How I did it:
https://{github-username}:{access-token}@github.com/{organisation-acount}/{repo}.git
I am not getting "GITHUB External" Option in API App Service.
This error occurs due to connecting Github to multiple Azure accounts. To resolve it, simply revoke all Azure-related apps from the "Authorized OAuth Apps" section in Github settings (https://github.com/settings/applications), then re-authorize Github in Azure. This should allow you to save the deployment.
Same problem for me. If I revoke all OAuth apps and try to create the connection through Deployment Center under Functions App it adds the Azure App Service as Authorized OAuth App but portal still gives the error: "Failed to set up deployment: Cannot find SourceControlToken with name GitHub."
@MikaVirkkunen I got it working by disconnecting the github account from deployment center, then opened up the destination (wwwroot/site) in ftps(I used WinScp), transfered some files there and deleted them. Then afterwards I authorized through git and it started working. No idea what happened.
I tried it with another browser and then it worked. Seems to be a browser caching problem
I tried it with another browser and then it worked. Seems to be a browser caching problem
I can confirm that deleting the browser cache solves the problem.
I deleting the browser cache solves the problem.
I had azure and git running in chrome but noticed when you select in the development centre to authorize it will load an edge browser window.
closed everything down and restarted the process from Edge and it took two attempts but worked
I am getting the same error here
I'm getting this error from the template that I generated from Azure for creating Function App
resources. I cleared the cookies which did not help. I posted the error in stackoverflow. I'm using Service Principal
to create Function App
resources.
I got the following deployment error in executing deployment step #7
7. Deploy sample media functions into an Azure Functions account
Not sure but looks like additional configuration needed prior to #7 ?