I'm trying to use install nop-commerce from the marketplace azure.
I create the web app and setting up the sql server in the same wizard.
I'm putting both in the same resource-group name.
However, I'm getting the deploment issue below:
Deployment to resource group 'felisbabies' 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.
Anyone face this similar sceneario?
You can see here i wrote cosmetic article on it nopCommerce deployment with azure
Related
I'm using the 'Migrate to ARM' tool in the Azure portal but running into an error as referenced in this post here Azure Portal - Migrate to ARM - Failed during prepare step.
Has anyone run into this error during the prepare step? The validation works, but I get that same error once I begin the 'Prepare' step.
Can you please share the error message screenshot?
Can you try to migrate Classic Storage account o ARM using PowerShell or CLi and let me know the status?
Sometimes this type of issue may occur when there was VM images, VM machines with disks, or unattached disks in the storage account. Please check to see if this is the case and delete them then retry the migration. The commands to find these resources are in the section here.
Recommended to refer to this link and delete if there is any orphan disk object and images that might be impacting the storage account migration.
Have you referred to the suggestion mentioned in this article: https://learn.microsoft.com/en-us/azure/virtual-machines/migration-classic-resource-manager-errors
Step-by-Step: Migrate your classic Cloud Services to ARM–Storage Migration.
I am trying to use Azure DevOps pipelines to build a .NET 5 (Core) web app and deploy it to my Azure app service. I can't find any complete examples in the documentation that achieve this so I'm following this:
https://github.com/shahedc/NetLearnerApp/blob/main/azure-pipelines.yml.txt
However, the Azure deploy task keeps returning this vague error:
In my Azure portal I only get this error:
I am assuming the issue is in my pipeline because deployment works when I deploy it directly from the Deployment Center in the Azure portal. Here are the details for the 3 relevant tasks my pipeline:
I found the solution. It turns out the issue was not in the pipeline, but was caused by a Git connection to the app service I had previously set up in the Azure Deployment Center. Even though I disconnected/removed this Git connection, there was somehow still a residual file left over in Azure that was causing the error. I deleted the 'deployments' folder in Kudu (pictured below) and the pipeline started working as expected.
Getting to the above pictured view:
Navigate to your Azure Function project
Search for Advanced Tools
Open PowerShell
Check if you have disk space available.
Yesterday we started getting this error, even if we tried to re-deploy packages that were successfully deployed just an hour before. Our system guys checked and found out that we reached the space limit and that it was time to upgrade.
P.S. I know that this was answered a long time ago. I am just sharing the solution that was not mentioned here and that worked for us.
think what Dan Beaulieu said in above answers is correct, but one thing to add, in my case, after deleting the deployments folder, remember to restart the app service/web app, which will make it take effect.
I tried to deploy ARM template for azure Data Factory as part of DevOps implementation.
Mode of deployment was selected as complete in oreder to cleanup the existing adf instance and deploy only the pipelines that are available in ARM template. as shown below.
When I tried to run the deployment, It failed with an error as
##[error]The deployment failed because some resources could not be deleted. This might be due to not having permissions to delete resources in the targeted scope. Please see https://aka.ms/arm-debug for usage details.
2020-11-02T05:33:34.5795133Z ##[error]Check out the troubleshooting guide to see if your issue is addressed: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops#troubleshooting
When I did a debug on this issue, i could understand that the deployment scope is selected as Resource Group and deployment task tried to delete all the resources under this resource group and failed because it couldnt delete resources other than ADF instance because of access issues.
Since I do not have access to other resources, they were not deleted, otherwise i could have messed up everything by deleting all other resources like ADLS, databricks, sql....
Since I am deploying ADF ARM template is there any way to restrict the deployment scope only for ADF instance, which will not affect other resources.
Any leads appreciated!
I have a query about the What-If feature provided by azure for ARM template deployment. Can we use this in our Release pipeline as a powershell task?
You cannot restrict the deployment scope lower than the ResourceGroup as you noticed.
The only way for you to do this would be either putting the ADF in a seperate resource group but i asume that is not possible.
A second way of doing this would be deleting the ADF through the portal or powershell and then do an incremental deployment of you ARM template that has only the ADF definition in it.
Microsoft rolled out a new feature for ARM deployments called What-If. This is a super nice feature to check what changes to what resources will happen when deploying your template. Note, it only works with powershell core at the moment. If you work with ARM templates this could help you and catch resource deletion before you deploy anything.
When deploying a data factory, do not select Complete as your deployment mode. This will overwrite all resources in the resource group including non-ADF entities.
Selecting Incremental will deploy only the resources located in the ARM template. If generated from the adf_publish branch, then this will contain all of the resources in your factory.
Background: We have an azure DevOps pipeline that we use to automatically deploy a webapp we maintain to an azure test instance.
This suddenly stopped running today with the following error.
TF24668: The following team project collection is stopped: ***********. Start the collection and then try again. Administrator Reason: abuse
where *********** is our project name.
It fails instantly when this happens. It doesn't appear to do anything else other than throw this error.
The developer who initially got the pipeline set up is no longer with the company.
I've looked through the DevOps interface, and I can't find what it means by this "project collection", and I can't find out how to start it.
Any ideas where I should look?
If you are using Azure DevOps Service. This is a known issue on Azure DevOps, Microsoft Product Team has fixed it and all hosts have reboot, you could try it again and then kindly share the result here.
If you are using Azure DevOps Server, you should open Azure DevOps Server Administration Console->click the tab Team Project Collections->check the collection and ensure the state is Online, then try it again.
Note: If you do not have enough permission to do this, please contact the collection administrator to check it.
I faced the same and reported an issue on Microsoft Developer Community and got the following response
We had some bad actors using our MS-HOSTED pipelines pools in ways they should not have been, and we blocked them in order to maintain the stability of Azure Pipelines.
Full response can be found here
This ended up being a bug with azure that they fixed within a few days
See https://developercommunity.visualstudio.com/t/Azure-Pipelines:-errorTF24668:-The-f/1239940
As stupid as it might sound there is an Azure DevOps Dashboard that states health of Azure DevOps services. I got his error on Wednesday where status of pipeline service in my region was marked as degraded. On Thursday status changed to healthy and my pipeline works!
I'm trying to back up an azure vm to acronis, but whenever I try to deploy the acronis extension on azure I recieve the following error:
At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
VM has reported a failure when processing extension 'AcronisBackup'. Error message: "Failed to connect to Acronis Backup Cloud. Check specified credentials and firewall settings. For more information please refer to https://kb.acronis.com/content/47189"
It basically says that the provisioning state failed. How can i fix this?
Issues related to installation of Acronis extension should be investigated with the help of Acronis support team.
Just a suggestion, you can try redeploying the VM to see if that lets you successfully install the extension. If issue persist, reach out to support and share below information with the technical professionals.
Error details with screenshot if possible
Detail steps followed for deployment