No Longer Able to Deploy VirtoCommerce from GitHub - azure

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.

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.

Microsoft Azure - unable to create "Team Project" using free trail account

I am new to azure and i am trying to create a team project on portal.azure.com and its failing with below error.
The resource group is getting created but team project creation fails
Error:
{"Code":"InvalidRequestValue","Message":"TF400902: There was a failure executing the job. Job Id for the failed creation:b055035e-1b17-480d-a577-abce5d9aff75","Target":"GetProjectJobStatus"}
Reproduce your issue successful with my azure account.
It is not related to the free trail account. If your steps are accurate. (Please refer this blog: Create a VS Online Team Project from the new Azure Portal)
This may coursed by azure. Suggest you try again after several hours.
Update
Even though with this error, I received a successful email from Azure. Please also check whether did you get this email.

Upgraded Azure, now can't deploy

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

Published Web app to Azure, how do I browse to it, monitor it?

I have created my first app for azure. It's has an MVC3 web role which writes some data to table storage.
It also has a worker role that does some work behind the scenes to the same data.
It all works fine in the emulator.
I've uploaded it all to Azure as a staging deployment, the hosted service it is reports all roles as "ready". The health for all roles is "healthy", though the worker role appears to crash and goes to "degraded" and then resets itself (I assume this is what is happening).
So what now? I have found a "DNS Name" on my Web Role in the form "http://{guid}.cloudapp.net/"
Clicking on that link just gives me a network access error, http://www.downforeveryoneorjustme.com/ can't find it either.
What am I missing? Where can I see diagnostics similar to the emulator? I've set "Enable Diagnostics" to use my Azure storage account in each role. How do I get into the storage to see if it has traced anything? Can this be done through the Management Portal?
I've tried searching through MSDN, but I can't find a page that says "and then you click the DNS name link and your website will launch. I'm sure there is a lovely page like that but I can't find it.
thanks in advance!
In August 2011, the Windows Azure role templates were updated to work with the ASP.NET Universal Providers. As such, when you create a new project, the session state provider is backed by SQL Express by default. If you don't change this to SQL Azure or Cache (or disable session state), you'll run into issues.
I'm not sure this is exactly the issue you're running into, but it's a common one. See Nate Totten's blog post for more information about this (Nate calls out this issue a few pages down, under IMPORTANT NOTE).
You can access diagnostics data directly from Visual Studio Server Explorer.
Here you have all necessary information: Browsing Storage Resources with Server Explorer http://msdn.microsoft.com/en-us/library/windowsazure/ff683677.aspx
Personally I use Azure Diagnostics Manager from Cerebrata http://www.cerebrata.com/products/AzureDiagnosticsManager/ that is easy and has a good dashboard

Resources