Upgraded Azure, now can't deploy - azure

I upgraded Azure to a paid account (pay as you go). Now all of a sudden I can't deploy. It says in Visual Studio when I try to deploy:
Warning: There was no endpoint listening at https://management.core.windows.net/4b7ac332-17a9-4235-96ef-a47c56860bae/services/hostedservices/reckon/certificates that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
I am not using a proxy, nor Team Foundation server.

The uri used for azure management uses a subscription id - if your subscription id changed duringt the upgrade, you'll need to download a new publishsettings file through visual studio

Related

Error "Subscription was not found" when trying to create Azure Function App in VS Code

I'm gettting rather weird error when attempting to create new Azure Function App with Azure Functions VS Code extension:
Subscription MY_SUB_GUID_HERE was not found.
No matter what I've tried: reloading VS Code, re-installing Azure Functions extension (incl. older versions), logging out from my MS account in browser, restarting PC, clearing TenantId in VS Code Azure Account extension, removing Azure Functions extension completely including its folder in C:\Users\USER_NAME\.vscode\extensions, signing out and back in via Azure Account extension, creating Azure Function application through the Azure portal incl. new resource group (I've found some old issue on GitHub which supposedly got fixed and one workaround was to create Azure func app through the portal first) - still the same error message, which occurs after selecting location, but actually in VS Code Log (Window) I can see that it fails immediately after 1st step (error code is SubscriptionNotFound + error message above) when you provide a unique name for the application.
At the same time, creating App Service, Resource Group, Static Web App all works like a charm through the corresponding extensions. Of course I see my subscription on Resources pane in VS Code and hence I'm saying that the error is a weird one.
OS: Windows 10 Pro x64 21H1, build 19043.1826
VS Code: 1.69.2
Azure Functions extension: 1.7.4
Azure subscription: free trial
Azure Functions version: ~4
.NET: 6.0
I cannot understand for love of god where the problem is - friend of mine tried it with his Visual Studio Enterprise subscription and it worked without any problem, so perhaps this is an account-related issue? Strange though that other things like App Service seem to work fine. I have "Owner" role for this subscription so it should not be due to the lack of rights or something similar.
Have you updated the az-cli?
e.g. az login or az logout?
What does az account show shows you?
You will be facing this issue because the Azure subscription is absolutely completely empty and the environment could not able to pick up your subscription.
Restart your environment after deploying a sample resource to your subscription.
Now that the subscription is not empty, It will be able to identify your subscription id. Additionally, confirm that your Azure free trial membership has not expired.

Cloud Explorer fails with "Unable to retrieve child resources"

How to fix this bug?
Open Cloud Explorer (logged in)
Open "Files" folder for some Azure Web App (former Azure Website)
Result:
Cloud Explorer has encountered an unexpected error: Unable to retrieve
child resources.
Details: 'Newtonsoft.Json.Linq.JObject' does not contain a definition
for 'requestNamespace'
I'm using:
Microsoft Visual Studio Community 2015 Version 14.0.25431.01 Update 3
Azure App Service Tools v2.9.6 14.0.21111.0
Common Azure Tools 1.8
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.41104.6
I had this problem and it was a permissions issue, mine was with a Cosmos Document DB database node.
I had my DevOps guy add me as a contributor to the IAM Azure role and it started working for me. So check all the permissions, and it is the cloud so sometimes you have to give it time to propagate the changes too.
I had this issue when both Azure Storage Emulator and Azure Storage Explorer trying to run at the same time. Try uninstall one or run only one at a time to solve the issue.
Have a look at troubleshooting guide might also help.

No Longer Able to Deploy VirtoCommerce from GitHub

In the past I have successfully deployed VirtoCommerce to Azure from GitHub using the "Deploy to Azure" button. But today, using my Azure free trial subscription, I am receiving an error message.
Using the "Free" SKU, when I attempt to deploy, it gets to the "Configuring SQL Server Firewall Rules" step and then fails with deployment error, "The operation is not supported for your subscription offer type".
Does this no longer work with a free trial account? As I said, it worked before, so something must have changed.
This is because the Web edition of the Azure SQL Database is now retired.
I have changed the database edition to the Basic (the new minimal edition) in azuredeploy.json, so now everything should work again.

Windows Azure: Mismatch of the security binding between the client and the server

I am using VS 2012, Azure v1.8, Windows 8.1
Update: Updated Azure to 2.5, but still error.
Using VS2012 > Server Explorer > Windows Azure Compute > Add Deployment Environment, I have added subscription via publish settings file.
Now when I want to choose the deployment environment, I am getting below error.
Windows Azure Tools for Microsoft Visual Studio
Unable to load services for the given credentials. An error occurred while making the HTTP request to https://management.core.windows.net/xxxxxxxxxx/services/hostedservices.
This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case.
This could also be caused by a mismatch of the security binding between the client and the server.
I even check tried the solution of this Question
Note: I have already deployed applications on my azure account couple of months back, now I want to updated them.
Update1: Upgraded Azure to version 2.5
I update Azure version to 2.5, now when I select .... Server Explorer > Azure > Manage Subscriptions, getting error as
An error occurred during the sign in process: service_returned_error: Serviced returned error. Check InnerException for more details
Update2 2015-03-10: Used Fiddler
After updating to Azure 2.5, was unable to connect to Azure from VS 2012.
I started fiddler
- Enabled decrypt https.
- Added the required ClientCertificate.cer to C:\Users\user1\Documents\Fiddler2
Now from VS 2012, can connect to Azure using user id and password.
When publishing to Azure, was able to publish and application worked, but it did not finish the complete process 100%.
Now if I stop fiddler and then again ... I am getting same error.
Issue was with AnkhSvn-2.5.12266.
Once I removed it, I was able to connect to Azure.
Due to AnkhSvn-2.5.12266 VS 2012 was using SSL V3.0 and to prevent the POODLE attack, Azure rejects all request, which uses SSL 3.0 Protocol.

Failed to retrieve deployment history when I try to view the deployment tab of a web site connected to TFS

When I try to view the deployment tab of a web site connected to TFS, I get the following error:
Get/Refresh TFS OAuth token failed with invalid_grant
It used to work. Doesn't work anymore.
And not able to disconnect this could service from TFS:
"Unlink TFS failed to complete cleanly. All info was removed from the Portal, but some might remain on TFS Hosted Services."
Do you have any idea ?
Today, I was able to use the link to connect to my Visual Studio Account.
It works now.

Resources