azure-template

How to enable SQL Authentication with ARM Template?

爷,独闯天下 提交于 2019-12-12 06:56:12
问题 I have an ARM template which deploys multiple Azure VMs with the following images: "SQL2008R2SP3-WS2008R2SP1", "SQL2012SP4-WS2012R2", "SQL2014SP2-WS2012R2", "SQL2016SP2-WS2016", "SQL2017-WS2016" The SQLIaaS VM Extension is not leaving the SQL Server in SQL Authentication mode, and not creating the SQL Authentication account. Otherwise everything else works fine. Here's the snippet for the SQLIaaS part of the ARM template. Any ideas why SQL Auth is not being set up? { "apiVersion": "2015-06-15

How to use secureObject or securestring returned from a linked ARM template

天涯浪子 提交于 2019-12-10 23:45:36
问题 How do I use the value of a returned securestring or secureObject that is returned from a linked ARM template? For example, one child linked template named CreateStorage creates an Azure storage account creates blob containers on that account creates a SAS key for the container returns the SAS key in the templates outputs section. e.g. returning SAS in the templates outputs: "outputs": { "createdContainerSas": { "type": "string", "value": "[concat('https://', variables('storageAccountName'),

ARM template for Azure Active Directory

◇◆丶佛笑我妖孽 提交于 2019-12-10 15:16:09
问题 What should be the type under resources, if I want to create an ARM template for Azure Active Directory? Is there any resources for adding User/Group/Application features in Azure Active Directory through ARM templates? 回答1: Currently, there is no way to programmatically provision an Azure Active Directory. Thus, there is also no ARM templates available for that. You have to use either, the Graph API (REST) or a PowerShell Module like AzureAD to create User / Application for an existing AAD.

Azure nested template deployment: Using template element (not templateLink) with PowerShell

北城余情 提交于 2019-12-08 10:58:20
问题 In an attempt to make life easier (in the long run), I'm trying to use properties.template, as opposed to the well documented properties.templateLink. The former has very little documentation by passing the contents of child.json template file into the parent.json template, as a template' parameter. From the MS documentation for Microsoft.Resources/deployments: The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an

Azure VM custom script extension SAS token support

十年热恋 提交于 2019-12-07 19:44:29
问题 I am trying to deploy add a custom script extension to an Azure VM using an ARM template, and I want to have it download files from a storage account using a SAS token. Here is the template (simplified): { "name": "CustomScriptExtension" "type": "Microsoft.Compute/virtualMachines/extensions", "location": "eastus", "properties": { "publisher": "Microsoft.Compute", "type": "CustomScriptExtension", "typeHandlerVersion": "1.8", "settings": { "fileUris": [ "https://{storage-account}.blob.core

ARM template for adding runbooks and modules

别来无恙 提交于 2019-12-01 07:34:21
问题 Currently I am uploading manually custom modules for azure runtime automation runbooks in the azure portal. Then I also create manually a runbook which executes my custom module. I would like to do this via an ARM script. I assume everything you can do in the azure portal, is also possible in ARM. I am new to ARM, but deployed a website through ARM. That was relatively easy as I could just select Web App as resource. But in the Add Resource list, I can't find anything related to runbook or