When you try to deploy a VM from the Marketplace using an ARM (json) template you’ll get an error like the one below in the case when you’ve not previously accepted the Legal terms for the image: 1[{"Legal terms have not been accepted for this item on this subscription. To accept terms using Powershell..."}] Accepting...
NOTE: The issue described in this post was fixed!!! (ansible 2.5.2 and Azure CLI 2.0.34) Last week I tried to run this simple Ansible playbook in Azure Cloud Shell: 1# resource_group.yml 2# Create test resource group in west europe 3- name: Create a Resource Group 4 hosts: localhost 5 connection: local 6 gather_facts:...
For those of you who have been trying to automate anything related to Microsoft Teams, let me tell you that there is a new PowerShell Module in town: Microsoft Teams 0.9.0 which you can install with the following command: 1 Install-Module MicrosoftTeams Now to automate the channel creation In A Team you can simply:...
In this post I’ll show you how to Use PowerShell to enable Azure Storage Account Firewall Rules. Be sure to be have AzureRM PowerShell 4.4.1 module installed. Login to your Azure Account Launch Powershell and start by Login to your Azure Account. 1 Login-AzureRmAccount Set Resource Group and Storage Account Name...
In this post I’ll show you how to Use PowerShell to Enable and Automate Azure Analysis Backup. Enable Azure Analysis Service Backup Enable-AzureRmAnalysisServicesBackup is a small powershell script that uses the the Set-AzureRmResource cmdlet to enable backup location to an Azure Analysis Service instance. Once you run...