azure-deployment

Updating a Virtual Machine Scale Set to add a secret fails with VHD error

霸气de小男生 提交于 2019-12-12 03:37:31
问题 I've deployed a virtual machine scale set (VMSS) to Azure as part of a Service Fabric cluster. When I try to redeploy the template, slightly enhanced to update the VMSS with an additional secret, I get the following error. I've verified that the parameters I'm using are all correct. "type": "Microsoft.Compute/virtualMachineScaleSets", // ... "osProfile": { // ... "secrets": [ { "sourceVault": { "id": "[parameters('sourceVaultValue')]" }, "vaultCertificates": [ { "certificateStore": "

install Application Initialization in Azure Web Role hosting multiple web sites

谁都会走 提交于 2019-12-11 12:06:30
问题 i have azure role hosted as cloud service, i am trying to install the application initialization as suggested in below link: http://fabriccontroller.net/blog/posts/iis-8-0-application-initialization-module-in-a-windows-azure-web-role but how will all my sites in this single WebRole will remain warmed up? I have followed up the steps told in above link. But not sure how it will managed with multiple websites in single role. 来源: https://stackoverflow.com/questions/22374886/install-application

Azure deployment with eclipse result in error importing subscriptions from publish settings file

浪子不回头ぞ 提交于 2019-12-11 11:31:59
问题 My azure deployment from eclipse was working perfect. Untill i re-imported the PUBLISH-SETTINGS file with eclipse. Since then i'm receiving the following error: Exception:org.eclipse.core.runtime.CoreException: package.xml:158: com.microsoft.tooling.msservices.helpers.azure.AzureCmdException: Error importing subscriptions from publish settings file pluginId org.eclipse.ant.launching pluginVersion 1.1.101.v20160203-1242 code 0 severity 4 message Ant Build Failed fingerprint

Promote Azure Website using Azure Active Directory from staging environment

只愿长相守 提交于 2019-12-11 11:23:56
问题 I have an azure-website authenticated with Azure Active Directory, and my goal is to deploy to a staging slot, which is then promoted to the production environment. However when I deploy to the staging slot it is being treated as a separate application in my Azure AD. When I promote the environment the Reply URL in Azure AD application stays the same, so that my production site is now being redirected back to the staging slot after logging in. It would help if I could configure the

Enabling logging/debugging in Azure worker role to azure storage

主宰稳场 提交于 2019-12-11 08:29:25
问题 I have a .net project that I am trying to deploy as a worker role in Azure. I am able to publish the file directly from Visual Studio but then when the worker role runs I am getting a uncaught exception. I am attempting to enable logging to azure storage from the worker role so I can get more information on the exception but I am running into issues getting MIT configured. Can anyone provide assistance on the best way to enable this logging? 回答1: I’m not a massive fan of the recommended Azure

The path $/FullStackSampleApplication is not a file. (type InvalidOperationException)

北城以北 提交于 2019-12-11 06:48:23
问题 I have created a new build definition with a custom activity. I modified the AzureContinuous deployment xaml as explained here: http://www.ewaldhofman.nl/post/2010/06/01/Customize-Team-Build-2010-e28093-Part-10-Include-Version-Number-in-the-Build-Number.aspx And here a problem I had before but I could solve it: 'AssemblyInfoFileMask' is not declared. It may be inaccessible due to its protection level When I queue a new build I got the exception The path $/FullStackSampleApplication is not a

Provisioning resource group and azure function at deployment level

烂漫一生 提交于 2019-12-11 06:20:08
问题 I've written up the script below to do the following: Provision a resource group In a separate deployment: Provision a storage account Provision a server farm Provision a function app The problem lies in the setting of the app settings in the function app, when I'm setting up the AzureWebJobsStorage. The resourceId function fails to resolve the storage account. When looking at the documention for the resourceId function, it states: When used with a subscription-level deployment, the

create azure package with build

旧街凉风 提交于 2019-12-08 11:09:18
问题 I was just upgrading my project from sdk 1.3 to 1.7 and I noticed that now when I build the application the package(cspkg) is not created with the build. I have go click on publish to create a package. Is there a way to tell VS to create a package everytime a build is triggered. Also using msbuild is there a way to do the same thing. I have multiple projects under a solution, Most of which are just libraries and then there is this azure app. Is there a way to specify a single msbuild

How is VIP swapping + CNAMEs better than IP swapping + A records?

五迷三道 提交于 2019-12-08 02:07:22
问题 I'm in the middle of updating my DNS setup to use all CNAMEs instead of A records, because I need support for VIP swaps between Staging and Production. I can't use A records for this because that puts a dependency on a VIP that will be changing for each deployment. Previously, I was using A records because of wildcard AND base domain support - I could map mydomain.com and all subdomains to the VIP and everything just worked. CNAMEs make this a bit more complicated, but not impossible. My

How to change Azure local deploy directory?

久未见 提交于 2019-12-07 21:50:40
问题 I would like to know how to change default Azure SDK local deploy directory? Default Azure SDK local deploy directory is C:\Users\username\AppData\Local\dftmp* , but I would like to change it. I have already google it, but with no success. Can you help me out? 回答1: You need to set the environment variable _CSRUN_STATE_DIRECTORY to location where the output of the build would be deployed. See here Update : Since the link is broken. To set environment variable Right clicking Computer, selecting