Tag: Developer

Install Azure Tools using command line WinGet PowerShell

Install Azure Tools using WinGet

Sometimes you need to set up a fresh developer or admin workstation with all the latest Azure tools available. I created a quick list of commands on how you can install Azure Tools using the Windows Package Manager (WinGet) on your Windows 10 or Windows 11 machine.

First, you will need to install the Windows Package Manager (WinGet), if you don’t have winget already on your machine (it will ship in later versions of Windows by default) you can find my blog here on how to install the Windows Package Manager Winget. If you want to learn more about WinGet and how to get started, check out my blog here.

Here is an list of Azure tools I installed using WinGet when setting up a new developer or administrator workstation, this might be different for your needs, but it will provide you with an overview on how to do it. This also includes things like the Azure CLI or Azure PowerShell.

As a reminder, of course, you can also use Azure Cloud Shell, which has already a lot of the tools preinstalled and can be run within Visual Studio Code or the Windows Terminal.

##### Install Azure Tools
winget install Microsoft.AzureStorageExplorer
# winget install Microsoft.AzureStorageEmulator
winget install Microsoft.AzureFunctionsCoreTools
winget install Microsoft.AzureDataStudio
# winget install Microsoft.AzureCosmosEmulator
# winget install Microsoft.azure-iot-explorer
winget install Microsoft.Bicep
winget install Microsoft.AzureCLI
# winget install Microsoft.ServiceFabricRuntime

##### Install AzCopy v10
Invoke-WebRequest -Uri "https://aka.ms/downloadazcopy-v10-windows" -OutFile AzCopy.zip -UseBasicParsing
Expand-Archive ./AzCopy.zip ./AzCopy -Force
mkdir "$home/AzCopy"
Get-ChildItem ./AzCopy/*/azcopy.exe | Move-Item -Destination "$home\AzCopy\AzCopy.exe"
$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";$home\AzCopy", "User")

##### Install PowerShell 7 and Azure PowerShell
winget install Microsoft.PowerShell
pwsh.exe
Install-Module Az

##### Install Windows Terminal
winget install Microsoft.WindowsTerminal

##### Install Git
winget install Git.Git
winget install GitHub.cli

##### Install Visual Studio Code
winget install Microsoft.VisualStudioCode

##### VS Code Extensions:
code --install-extension AzurePolicy.azurepolicyextension
code --install-extension ms-azuretools.vscode-azureresourcegroups
code --install-extension ms-azuretools.vscode-azurestorage
code --install-extension ms-azuretools.vscode-azurevirtualmachines
code --install-extension ms-azuretools.vscode-bicep
code --install-extension ms-azuretools.vscode-docker
code --install-extension ms-dotnettools.vscode-dotnet-runtime
code --install-extension ms-vscode-remote.remote-containers
code --install-extension ms-vscode-remote.remote-ssh
code --install-extension ms-vscode-remote.remote-ssh-edit
code --install-extension ms-vscode-remote.remote-ssh-explorer
code --install-extension ms-vscode-remote.remote-wsl
code --install-extension ms-vscode-remote.vscode-remote-extensionpack
code --install-extension ms-vscode.azure-account
code --install-extension ms-vscode.azurecli
code --install-extension ms-vscode.powershell
code --install-extension ms-vscode.vscode-node-azure-pack
code --install-extension ms-vsliveshare.vsliveshare
code --install-extension ms-vsonline.vsonline
code --install-extension msazurermtools.azurerm-vscode-tools

I hope this is a good start for you if you want to set up your Microsoft Azure developer or administrator workstation using the command line and especially the Windows Package Manager (winget). What are you adding, what is missing, and do you have any other important things you run? Feel free to leave a comment.



Azure Arc Overview

Azure Arc for Developers, IT Pros, Cloud Architects, and Security Engineers

Azure Arc allows customers to extend Azure management and Azure services to anywhere. Now that said, this offers a lot of different opportunities and features depending on your job role. I wrote a couple of blog posts on our team blog on Microsoft Tech Community, to show the different Azure Arc capabilities in hybrid and multicloud environments to developers, IT Pros, Cloud Architects, and Security Engineers.

Here is an overview and some of the highlights of the blog posts. You can find more about each of these job roles here:

Azure Arc for Developers

Azure Arc and the Azure control plane enables developers to build hybrid and mutlicloud architectures for their applications. Taking advantage of the Azure control plane to manage infrastructure and allows to deploy Azure services anywhere. This allows customers to build cloud solutions and application architectures consistently, independent of where the application is running. Developers can use their favorite Azure services like WebApps or Azure SQL, and run their applications outside of Azure.

Azure Arc for Developers
Azure Arc for Developers

Highlights for Developers

  • Use the Azure Portal to gain central visibility
  • Manage Access
  • Enable your custom deployment locations
  • Run cloud-native apps on Azure PaaS anywhere
  • Azure Arc enabled Data Services
  • CI/CD workflow using GitOps – Azure Arc enabled Kubernetes
  • Access your Kubernetes Cluster from anywhere
  • Deploy and run Azure Kubernetes Services (AKS) on-premises on Azure Stack HCI
  • Run Machine Learning anywhere
  • Use Azure Managed Identities on-prem or at other cloud providers
  • Monitoring
  • and more
Azure Arc enabled Kubernetes GitOps Flow for Developer and DevOps
Azure Arc enabled Kubernetes GitOps Flow for Developer and DevOps

You can read the full Azure Arc for Developers blog post on Tech Community.

Azure Arc for IT Pros

Azure Arc simplifies governance and management by delivering a consistent multi-cloud and on-premises management platform. Azure Arc enables IT Professionals (IT Pros) to manage your entire environment, with a single pane of glass, by projecting your existing resources into Azure Resource Manager. You can now manage servers, Kubernetes clusters, and databases as if they are running in Azure. Regardless of where they live, you can use familiar Azure services and management capabilities. Azure Arc enables you to continue using traditional ITOps, while introducing DevOps practices to support new cloud-native patterns in your environment.

Azure Arc for IT Pros Monitoring
Azure Arc for IT Pros Monitoring

Highlights for IT Pros

  • Use the Azure Portal to gain central visibility
  • Organization and Inventory
  • Azure Resource Graph
  • Manage Access
  • Update Management
  • Monitoring
  • Log collection and analytics
  • Change Tracking and Inventory
  • Certificate Management
  • Security
  • Running Scripts against servers
  • Get compliance state
  • Manage your Azure Stack HCI

You can read the full Azure Arc for IT Pros blog post on Tech Community.

Azure Arc for Cloud Solutions Architects

Azure Arc and the Azure control plane enables Cloud Solutions Architects to build hybrid and mutlicloud architectures. Taking advantage of the Azure control plane to manage infrastructure and allows to deploy Azure services anywhere. This allows customers to build cloud solutions and applications architectures consistently, independent of where the application is running.

Azure Arc Cloud Architects - Architecture
Azure Arc Cloud Architects – Architecture

Highlights for Cloud Solutions Architects

  • Use the Azure Portal to gain central visibility
  • Organization and Inventory
  • Azure Resource Graph
  • Manage Access
  • Enable your custom deployment locations
  • Run cloud-native apps on Azure PaaS anywhere
  • Azure Arc enabled Data Services
  • CI/CD workflow using GitOps – Azure Arc enabled Kubernetes
  • Deploy and run Azure Kubernetes Services (AKS) on-premises on Azure Stack HCI
  • Use Azure Managed Identities on-prem or at other cloud providers
  • Run Machine Learning anywhere
  • Update Management
  • Monitoring
  • Log collection and analytics
  • Change Tracking and Inventory
  • Certificate Management
  • Security
  • Running Scripts against servers
  • Get compliance state
  • Manage your Azure Stack HCI

You can read the full Azure Arc for Cloud Solutions Architects blog post on Tech Community.

Azure Arc for Security Engineers

Azure Arc and the Azure control plane enables Security Engineers to take care of Cloud Governance and make sure that their hybrid and multi-cloud environment are configured in a secure and compliant state. In hybrid and multicloud environments, it can be difficult for Security Engineers to get a central view of all the resources they need to manage. Some of these resources are running in Azure, some on-premises, at branch offices, or even at other cloud providers. By connecting resources to the Azure Resource Manager using Azure Arc, Security Engineers can get central visibility and compliance states of a wide range of resources including Windows and Linux servers, SQL server, Kubernetes clusters, and Azure services running in Azure and outside of Azure.

Azure Arc for Security Engineers - Azure Policy Guest Configuration
Azure Arc for Security Engineers – Azure Policy Guest Configuration

Highlights for Security Engineers

  • Use the Azure Portal to gain central visibility
  • Organization and Inventory
  • Azure Resource Graph
  • Manage Access
  • Update Management
  • Monitoring
  • Log collection and analytics
  • Change Tracking and Inventory
  • Certificate Management
  • Security
  • Get compliance state

You can read the full Azure Arc for Security Engineers blog post on Tech Community.



AZ-220 Microsoft Azure IoT Developer Exam Study Guide

AZ-220 Study Guide: Microsoft Azure IoT Developer

If you are a Developer focusing on Internet of Things (IoT) solutions on Microsoft Azure, then the AZ-220 Microsoft Azure IoT Developer is for you. I am currently preparing for that exam, so I want to share my AZ-220 Microsoft Azure IoT Developer Certification Exam Study Guide with you. If you are passing the AZ-220 exam, you will earn the Microsoft Certified: Azure IoT Developer Specialty certification, that you understand how to implement the Azure services that form an IoT solution, including data analysis, data processing, data storage options, and platform-as-a-service options. IoT Developers must be able to recognize Azure IoT service configuration settings within the code portion of an IoT solution.

To learn and prepare for the exam, I usually use a couple of online resources, mainly Microsoft Docs and Microsoft Learn, which I am going to share with you. You can find more information about how I prepare for a Microsoft Certification exam on my blog post: How to prepare and pass Microsoft Certification Exam.

Also, check out other Microsoft Azure Certification Exam Study Guides:

Here is my AZ-220 Microsoft Azure IoT Developer Certification Exam Study Guide

It is essential to get familiar with the exam objectives and skills measured first. That is why I recommend reading the description of the exam and the skills measured.

Exam AZ-220: Microsoft Azure IoT Developer

The Azure IoT Developer is responsible for the implementation and the coding required to create and maintain the cloud and edge portion of an IoT solution. In addition to configuring and maintaining the devices by using cloud services, the IoT Developer also sets up the physical devices. The IoT Developer is responsible for maintaining the devices throughout the life cycle.

The IoT Developer implements designs for IoT solutions, including device topology, connectivity, debugging and security. The IoT Developer deploys compute/containers and configures device networking. The IoT Developer implements designs for solutions to manage data pipelines, including monitoring and data transformation as it relates to IoT. The IoT Developer works with data engineers and other stakeholders to ensure successful business integration.

IoT Developers should have a good understanding of how to implement the Azure services that form an IoT solution, including data storage options, data analysis, data processing, and platform-as-a-service options. IoT Developers must be able to recognize Azure IoT service configuration settings within the code portion of an IoT solution and perform specific IoT coding tasks in at least one Azure-supported language, including C#, Node, C, or Python.

The high-level view of the skills measured in the exam:

  • Implement the IoT solution infrastructure (15-20%)
  • Provision and manage devices (20-25%)
  • Implement Edge (15-20%)
  • Process and manage data (15-20%)
  • Monitor, troubleshoot, and optimize IoT solutions (15-20%)
  • Implement security (15-20%)

You can find more information on the exam website.

Free Online Microsoft Learn AZ-220 Exam Study Guide resources

Microsoft Learn provides you with free online training and learning paths for different Microsoft technologies. They not just offer reading material, but also control questions and free online labs. Here are some relevant Microsoft Learn modules and learning paths for the AZ-220 Microsoft Azure IoT Developer Certification Exam. Microsoft Learn is an important part of my AZ-220 exam study guide.

Microsoft Docs AZ-220 study guide resources

One thing I always used to prepare for my Microsoft exams is Microsoft Docs. Here are the relevant Microsoft Docs which I used to prepare and study for the AZ-220 exam.



AZ-204 Developing Solutions for Microsoft Azure Exam Study Guide

AZ-204 Study Guide: Developing Solutions for Microsoft Azure

Besides preparing for AZ-104, I am also preparing for the new AZ-204 Developing Solutions for Microsoft Azure exam, which was announced to replace the AZ-203 Azure Developer exam. There are many great resources out there to prepare for the exam, that’s why I want to share my AZ-204 Microsoft Developing Solutions for Microsoft Azure Certification Exam Study Guide with you. To learn and prepare for the exam, I usually use a couple of online resources, mainly Microsoft Docs and Microsoft Learn, which I am going to share with you. You can find more information about how I prepare for a Microsoft Certification exam on my blog post: How to prepare and pass Microsoft Certification Exam.

Also, check out other Microsoft Azure Certification Exam Study Guides:

Here is my AZ-204 Developing Solutions for Microsoft Azure Certification Exam Study Guide

It is essential to get familiar with the exam objectives and skills measured first. That is why I recommend reading the description of the exam and the skills measured.

Exam AZ-204: Developing Solutions for Microsoft Azure

Candidates for this exam are cloud developers who participate in all phases of development from requirements definition and design, to development and deployment, and maintenance. They partner with cloud DBAs, cloud administrators, and clients to implement solutions.

Candidates should be proficient in Azure SDKs, Azure PowerShell, Azure CLI, data storage options, data connections, APIs, app authentication and authorization, compute and container deployment, debugging, performance tuning, and monitoring.Candidates must have 1-2 years professional development experience and experience with Microsoft Azure. They must be able to program in an Azure Supported Language.

The high-level view of the skills measured in the exam:

  • Develop Azure compute solutions (25-30%)
  • Develop for Azure storage (10-15%)
  • Implement Azure security (20-25%)
  • Monitor, troubleshoot, and optimize Azure solutions (10-15%)
  • Connect to and consume Azure services and third-party services (15-20%)

You can find more information on the exam website.

Free Online Microsoft Learn AZ-204 Exam Study Guide resources

Microsoft Learn provides you with free online training and learning paths for different Microsoft technologies. They not just offer reading material, but also control questions and free online labs. Here are some relevant Microsoft Learn modules and learning paths for the AZ-204 Developing Solutions for Microsoft Azure Certification Exam. Microsoft Learn is an important part of my AZ-204 exam study guide.

Microsoft Docs AZ-204 study guide resources

One thing I always used to prepare for my Microsoft exams is Microsoft Docs. Here are the relevant Microsoft Docs which I used to prepare and study for the AZ-204 exam.



AZ-203 Microsoft Certified Azure Developer Associate

Passed AZ-203 Microsoft Certified Azure Developer

I am happy to share that I just passed another Microsoft Azure Exam. This time I took exam AZ-203, which gives you the Microsoft Certified Azure Developer Associate. This exam is focused on Azure Developers building solutions using different Azure services. There are several various Azure exams and certifications depending on different job roles like the Microsoft Certified Azure Administrator Associate or the Azure Architect Expert. However, even as an architect, engineer, or administrator, it helps how to understand different Azure services and how you can implement, design, and use them. These exams are not focused on writing the perfect code; they are designed to understand how you can design and build solutions and applications on top of the Azure platform. As you can see on the exam page, the AZ-203 has different focus areas like Azure IaaS, containers, app services, serverless, databases, storage, security, and much more. If you want to prepare for the exam, I highly recommend that you check out Microsoft Learn, but more on that later.

AZ-203 Microsoft Certified Azure Developer Associate

Candidates for this exam are Azure Developers who design and build cloud solutions such as applications and services. They participate in all phases of development, from solution design, to development and deployment, to testing and maintenance. They partner with cloud solution architects, cloud DBAs, cloud administrators, and clients to implement the solution.

You can find more about the exam and more details on the Microsoft Learning platform. The AZ-203 exam will be replaced by the new AZ-204 exam, you can check out my AZ-204 Developing Azure Solutions Exam Study Guide.

Azure Certifications

As mentioned, Microsoft offers different certifications depending on various job roles. If you are just getting started with Azure, I also highly recommend that you are doing AZ-900, which is the Azure Fundamentals exam.

How to prepare for the AZ-203 Microsoft Certified Azure Developer Associate exam

Microsoft Learn Azure Modules

For every modern Microsoft exam, I recommend that you first carefully read the skills measured on the exam page. Knowing the technologies and topics which are tested in the exam is already half of the work. Next, I recommend that you have a look at Microsoft Learn. Microsoft Learn is a great learning platform with a lot of different modules on different topics and technologies, which you can search but also filter based on your role. These are not just text-based learning modules; in some cases, you have a hands-on experience using a sandbox environment. You need to work with these technologies, try out these services on Azure, read the documentation on Microsoft Docs to the specific topics and go and try out the services with the different quick starting guides and tutorials. This will not only help you learn for the exam but also provide you a lot of knowledge on Azure.

Are you also interested in becoming Microsoft Azure Certified? Check out my blog posts about why you should become Microsoft Azure Certified, how to pick the right Azure exam certification path and how to prepare and pass a Microsoft Azure certification exam. I wish you happy learning and good luck taking the AZ-302 Microsoft Certified Azure Developer Associate exam!



Microsoft Azure Certifications

New Microsoft Azure Certifications announced

This week Microsoft Inspire takes place in Las Vegas. Unfortunately, I couldn’t make it this year. However, some of my colleagues from itnetX Switzerland and itnetX are there, don’t miss them and visit our booth! During the first day keynote at Microsoft Inspire, Microsoft quickly announced three new Azure Certifications for Administrators, Developers, and Architects. You can already take the beta exams for the Azure Certified Administrator with more information on the Microsoft Learning Blog.

New Microsoft Azure Certifications

The three new Microsoft Azure Certifications are:

  • Microsoft Certified Azure Developer
  • Microsoft Certified Azure Administrator
  • Microsoft Certified Azure Architect


MCSD Azure Solution Architect

Passed MCSD: Azure Solutions Architect

Today I just passed the last Microsoft Azure exam for the MCSD: Azure Solutions Architect. Since I focus on Microsoft technology, I always try to be certified in the specific areas where I am focused on. With Public and Hybrid Cloud scenarios becoming more and more important, I started to work with Microsoft Azure and other Microsoft Cloud Services such as Office 365, so it made sense to learn more about the solutions and earn the certifications. For the Azure part, Microsoft has a certification called MCSD: Azure Solutions Architect, which includes three different exams:

  • 70-532 (Developing Microsoft Azure Solutions)
  • 70-533 (Implementing Microsoft Azure Infrastructure Solutions)
  • 70-534 (Architecting Microsoft Azure Solutions)

I already go 70-533 at the beginning of this year, since this was the topic I was working with for quite some time. With Developer and DevOps scenarios becoming more and more important, I decided to prepare also for 70-532, which is focused on the Developer site of Azure, and the 70-534, which is an overall architecture exam. Bringing IT Pro and Developer skills together in this Cloud-focused world makes sense. IT Pros will have to learn some necessary developer skills to make sure they can keep up with the fast-moving cloud world. I am proud the be the second certified MCSD: Azure Solutions Architect within itnetX, after Marcel Zehner. This shows our strong focus, knowledge, and commitment to the Microsoft Cloud Strategy. If you want to do the exams as well, here are some recommendations:

  • Get a Microsoft Azure Subscription and start playing and testing. Btw, this is something you should have done a while ago.
  • Learn PowerShell, well I have been saying this for years now, learn PowerShell and get some knowledge on that topic, even if it’s not Azure related.
  • Install Visual Studio. Yes, you will need this in the future, not just for the exams.
  • Check out the Microsoft Certification page and learn about the exams and which skills are measured. Login to Azure and start working with these topics. To be honest, it doesn’t take a lot of time to build some demos.
  • Check out the Microsoft Virtual Academy (MVA) courses. Microsoft offers some great exam preparations and courses with several hours of video content, examples, and preparation questions.
  • Check out the current Azure Portal and the new Preview Azure Portal.
  • Look out for some great blog posts with study guides, for example, from Keith Mayer, Anders Eide, and Marius Sandbu.

With that you will not only pass the exams, you will also learn a lot about how things are going to work in the future.