Skip to main content
Jorge Bernhardt Jorge Bernhardt

Azure Cloud Shell

2023

Bicep - Deploy an Azure Active Directory B2C Tenant
·903 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell AzureB2C Microsoft
Bicep promises more efficient resource management, but there are notable challenges when working with Azure B2C. From customizing certain tenant properties to retrieving detailed information, we must face limitations. This post will show you how to create an Azure B2C resource with Bicep, identify current limitations, and find potential solutions.
Bicep - Deploy Azure Container Registry (ACR)
·864 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell ACR Microsoft
The use of Infrastructure as Code (IaC) has become vital in achieving successful and scalable implementations. Azure Bicep allows us to provision and manage resources in Azure with reliability and conciseness.
Bicep - Assigning Azure Policy Initiatives to Enforce Compliance
·800 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Microsoft Microsoft Azure
Hi all! Today I want to talk to you about “Policy as Code” Just as “Infrastructure as Code” changed how we handle infrastructure deployment, “Policy as Code” gives us consistency, traceability, and rapid implementation in policy management.
Bicep - Deploy a Subscription Budget using Azure CLI
·738 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Budgets Microsoft
Managing your resources and services costs is crucial to your Azure subscriptions’ governance. That’s where Azure Budgets comes in. Azure Budgets helps us manage our cloud costs by setting spending limits.
Bicep - Deploy Azure Storage Account using Azure CLI
·713 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Storage Account Microsoft
Azure Storage is a core foundational PaaS (Platform as a Service) offering within Microsoft Azure, providing a versatile and scalable solution for storing files, blobs (binary large objects), and other data types.
Analyzing Azure Activity Logs with Command-Line Tools
·848 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
As administrators of an Azure subscription, we are always interested in monitoring what is happening in our environment. To do this, Azure gives us a way to do this through activity logs, which record the actions that are performed on our subscription.
How to update the tenant ID in an Azure key vault
·832 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
I recently migrated an Azure subscription to a new tenant, and in the key vault resources, I had to perform a few additional steps that I want to show you. So In this week’s article, we’ll look at updating the tenant ID and removing previous access policies and role assignments to the key vault resource once it’s moved to the new subscription.
Creating Restore Points for Azure VMs using Azure CLI
·1360 words·7 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Monitor Microsoft
If you need to perform a quick ad-hoc backup of your virtual machine before maintenance that allows you to take consistent snapshots of all managed disks attached to your virtual machine, you should try Azure restore points.

2022

How to manage Log Analytics tables using the Azure CLI
·907 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure Monitor Microsoft
Microsoft last month announced the general availability of a new experience for managing Azure Log Analytics table metadata from the Azure portal. So I think it’s an excellent time to see how to view and edit table properties in Log Analytics workspaces using the Azure CLI and check how these changes are reflected in the Azure portal.
Setting Lifecycle Management Policy on Azure Storage using Azure CLI
·948 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Microsoft Microsoft Azure
In my last article, I showed you how to enable access time tracking on the Azure Storage Blob service. Today I want to show you how to take advantage of this functionality by setting up a data lifecycle management policy in your Azure storage account using Azure CLI.
How to enable Access Time Tracking for the Azure Storage Blob service
·768 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
To manage storage costs, it can help to organize your data based on how often it will be accessed. Azure offers us different levels of access to store blob data most cost-effectively, depending on how we use it.
How to enable SFTP support for an Azure storage account
·1520 words·8 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Blob storage now supports SSH File Transfer Protocol (SFTP). This allows us to use SFTP for file access, transfer, and management. In this post, I will show you how to enable an SFTP endpoint for your blob storage account and configure local user identities to authenticate and connect your storage account with SFTP over port 22.
How to enable hierarchical namespace on an Azure storage account
·928 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Azure Security Center
To enable a hierarchical namespace and unlock capabilities such as file and directory-level security on an Azure storage account, you need to upgrade your Azure Blob storage with Azure Data Lake Storage Gen2 capabilities.
Logging into an Azure Linux VM using an Azure AD account
·876 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Today I want to show you how you can improve the security of your Linux virtual machines in Azure by integrating with Azure Active Directory (Azure AD) authentication. In this post, I’ll show you how to set up a Linux virtual machine and log in with Azure AD using openSSH certificate-based authentication.

2021

How to change Azure Premium Disk Performance tiers without downtime
·694 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
On Azure Premium disks, we can change the performance tier even when it is connected to running virtual machines. With Premium SSD performance tiers, we have the flexibility to scale drive performance without increasing the size of the drive by selecting a higher performance tier and returning it to its original performance tier, allowing us to fine-tune the performance to our needs and save money.
How to use a VM system-assigned managed identity to access Azure Key Vault
·1070 words·6 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi, In a previous post, I showed you how to enable system-assigned managed identity on an Azure virtual machine. Today, I want to show you how to assign a managed identity to access an Azure resource securely.
How to enable the system-assigned managed identity on an Azure VM
·696 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hi, Jorge is back. In this post, I want to show you How to enable the system-assigned managed identity on an Azure VM using Powershell and Azure CLI. When you enable a system-assigned managed identity, Azure creates an identity associated with the instance and stores it to the Azure AD tenant associated with the subscription where you created the service instance.
How to configure Azure Bastion diagnostic settings
·781 words·4 mins· 100 views · 5 likes
Azure Bastion Azure CLI Azure Cloud Shell Azure PowerShell
Hello! everybody. Today I will show you how to configure Azure Bastion Diagnostic to send logs and metrics to a storage account using PowerShell and Azure CLI. Once this configuration is established, you can use the stored information to find out which users connected through Azure Bastion, when, from where, and metric information about the workloads of the Azure Bastion host.
How to enable the Key vault's firewall
·854 words·5 mins· 100 views · 5 likes
Add-AzKeyVaultNetworkRule Azure CLI Azure Cloud Shell Azure PowerShell
One of the security recommendations established by Microsoft in Azure Security Center is to enable the key vault’s firewall to prevent unauthorized traffic from reaching your key vault. This post will show you how to enable the firewall to ensure that only traffic from permitted networks can access your key vault using PowerShell and the Azure CLI.
How to configure Azure Firewall diagnostic settings
·778 words·4 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Connect-AzAccount
Hey, guys, following the series of publications on Azure Firewall, today I’ll show you How to configure Azure Firewall Diagnostics to send logs and metrics to a storage account using PowerShell and the Azure CLI.