{"id":53425,"date":"2025-06-27T16:24:12","date_gmt":"2025-06-27T06:24:12","guid":{"rendered":"https:\/\/www.cloudproinc.com.au\/?p=53425"},"modified":"2025-06-27T16:24:14","modified_gmt":"2025-06-27T06:24:14","slug":"how-to-restore-an-azure-vm-os-disk-using-azure-powershell","status":"publish","type":"post","link":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/","title":{"rendered":"How to Restore an Azure VM OS Disk Using Azure PowerShell"},"content":{"rendered":"\n<p>In this Microsoft Azure PowerShell post, We&#8217;ll walk through how to restore the OS disk of an Azure VM using PowerShell.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Restoring a virtual machine (VM) OS disk in Azure is a critical task when recovering from corruption, accidental deletion, or software failure. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"1024\" data-src=\"\/wp-content\/uploads\/2025\/06\/image-3.png\" alt=\"\" class=\"wp-image-53426 lazyload\" data-srcset=\"\/wp-content\/uploads\/2025\/06\/image-3.png 1024w, \/wp-content\/uploads\/2025\/06\/image-3-300x300.png 300w, \/wp-content\/uploads\/2025\/06\/image-3-150x150.png 150w, \/wp-content\/uploads\/2025\/06\/image-3-768x768.png 768w, \/wp-content\/uploads\/2025\/06\/image-3-980x980.png 980w, \/wp-content\/uploads\/2025\/06\/image-3-480x480.png 480w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/1024;\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\">Prerequisites<\/h2>\n\n\n\n<p>Ensure you have the following before proceeding:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Azure PowerShell module installed and updated<\/li>\n\n\n\n<li>Appropriate permissions to access Recovery Services Vault and VM backups<\/li>\n\n\n\n<li>A Recovery Services Vault with at least one recovery point for your VM<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-by-step-restoring-the-os-disk\">Step-by-Step: Restoring the OS Disk<\/h2>\n\n\n\n<p>We&#8217;ll walk through the process using a sample environment. Update the resource names to match your actual environment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-1-set-the-recovery-services-vault-context\">1. Set the Recovery Services Vault Context<\/h2>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-9bb4a63da5e70e4faad9073d494b0469\"><code>$vault = Get-AzRecoveryServicesVault -ResourceGroupName \"MyResourceGroup\" -Name \"myRecoveryVault\"\nSet-AzRecoveryServicesVaultContext -Vault $vault<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2. Get the Backup Container and Item<\/h2>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-67b0f7bad64fd550d1ecb35408b3acd2\"><code>$Container = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM -FriendlyName \"myVM01\" -VaultId $vault.ID\n$BackupItem = Get-AzRecoveryServicesBackupItem -Container $Container -WorkloadType AzureVM -VaultId $vault.ID<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3. Get the Recovery Point<\/h2>\n\n\n\n<p>Specify the time range from which you&#8217;d like to retrieve the recovery point.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-13168c14a44c62a155377af690b84175\"><code>$startDate = (Get-Date).AddDays(-10)\n$endDate = Get-Date\n$rp = Get-AzRecoveryServicesBackupRecoveryPoint -Item $BackupItem -StartDate $startDate.ToUniversalTime() -EndDate $endDate.ToUniversalTime() -VaultId $vault.ID<\/code><\/pre>\n\n\n\n<p>You can inspect the <code>$rp<\/code> variable to choose the most suitable recovery point. For example:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-3ffb0ba457a9c6986f32557493ace641\"><code>$rp | Format-Table RecoveryPointId, RecoveryPointTime<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4. Restore the OS Disk<\/h2>\n\n\n\n<p>Choose the desired recovery point and initiate the restore. This will restore only the OS disk to the specified storage account and resource group.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-455fa16d5a1c3f810363410d4d8fefef\"><code>Restore-AzRecoveryServicesBackupItem \\\n    -RecoveryPoint $rp&#91;0] \\\n    -StorageAccountName \"mystorageacct\" \\\n    -StorageAccountResourceGroupName \"MyResourceGroup\" \\\n    -TargetResourceGroupName \"MyResourceGroup\" \\\n    -VaultId $vault.ID \\\n    -RestoreOnlyOSDisk<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Note:<\/strong> This command does <em>not<\/em> overwrite the existing VM. It creates a new managed disk from the OS disk recovery point, which you can later attach to a new or existing VM.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">After the Restore<\/h3>\n\n\n\n<p>Once the OS disk is restored, you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a new VM using the restored disk<\/li>\n\n\n\n<li>Replace the disk on the original VM (requires VM to be deallocated)<\/li>\n\n\n\n<li>Mount it as a data disk to extract files<\/li>\n<\/ul>\n\n\n\n<p>In the next article we will show how to replace an existing OS disk with a restored.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Using Azure PowerShell, restoring an Azure VM OS disk is straightforward and gives you control over the recovery process. Always ensure you select the correct recovery point and validate the disk post-restore before putting it into production.<\/p>\n\n\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links yoast-seo-related-links\">\n<li><a href=\"https:\/\/cloudproinc.com.au\/index.php\/2022\/02\/23\/should-i-backup-my-microsoft-365-data\/\">Should I Backup My Microsoft 365 Data?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/06\/25\/containerize-a-blazor-net-application\/\">Containerize a Blazor .NET Application<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/cloudproinc.com.au\/index.php\/2024\/08\/28\/deploy-azure-resources-with-logic-apps\/\">Deploy Azure Resources With Logic Apps<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2024\/09\/10\/identify-azure-users-without-mfa-using-powershell\/\">Identify Azure Users Without MFA Using PowerShell<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/cloudproinc.com.au\/index.php\/2024\/03\/28\/how-to-add-a-registry-key-to-windows-11-using-microsoft-intune\/\">How to Add a Registry Key to Windows 11 Using Microsoft Intune<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Microsoft Azure PowerShell post, We&#8217;ll walk through how to restore the OS disk of an Azure VM using PowerShell.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"How to Restore an Azure VM OS Disk Using Azure PowerShell","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Learn how to restore an Azure VM OS disk using Azure PowerShell. Follow these steps to ensure a smooth recovery process.","_yoast_wpseo_opengraph-title":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_twitter-title":"","_yoast_wpseo_twitter-description":"","_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16,20,13],"tags":[],"class_list":["post-53425","post","type-post","status-publish","format-standard","hentry","category-microsoft-azure","category-azure-powershell","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Restore an Azure VM OS Disk Using Azure PowerShell - CPI Consulting<\/title>\n<meta name=\"description\" content=\"Learn how to restore an Azure VM OS disk using Azure PowerShell. Follow these steps to ensure a smooth recovery process.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Restore an Azure VM OS Disk Using Azure PowerShell\" \/>\n<meta property=\"og:description\" content=\"Learn how to restore an Azure VM OS disk using Azure PowerShell. Follow these steps to ensure a smooth recovery process.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"CPI Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-27T06:24:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-27T06:24:14+00:00\" \/>\n<meta name=\"author\" content=\"CPI Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CPI Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/\"},\"author\":{\"name\":\"CPI Staff\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\"},\"headline\":\"How to Restore an Azure VM OS Disk Using Azure PowerShell\",\"datePublished\":\"2025-06-27T06:24:12+00:00\",\"dateModified\":\"2025-06-27T06:24:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/\"},\"wordCount\":350,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#organization\"},\"articleSection\":[\"Azure\",\"Azure PowerShell\",\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/\",\"name\":\"How to Restore an Azure VM OS Disk Using Azure PowerShell - CPI Consulting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#website\"},\"datePublished\":\"2025-06-27T06:24:12+00:00\",\"dateModified\":\"2025-06-27T06:24:14+00:00\",\"description\":\"Learn how to restore an Azure VM OS disk using Azure PowerShell. Follow these steps to ensure a smooth recovery process.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/index.php\\\/2025\\\/06\\\/27\\\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Restore an Azure VM OS Disk Using Azure PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#website\",\"url\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/\",\"name\":\"Cloud Pro Inc - CPI Consulting Pty Ltd\",\"description\":\"Cloud, AI &amp; Cybersecurity Consulting | Melbourne\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#organization\",\"name\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\",\"url\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"width\":500,\"height\":500,\"caption\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\",\"name\":\"CPI Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"caption\":\"CPI Staff\"},\"sameAs\":[\"http:\\\/\\\/www.cloudproinc.com.au\"],\"url\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/author\\\/cpiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Restore an Azure VM OS Disk Using Azure PowerShell - CPI Consulting","description":"Learn how to restore an Azure VM OS disk using Azure PowerShell. Follow these steps to ensure a smooth recovery process.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/","og_locale":"en_US","og_type":"article","og_title":"How to Restore an Azure VM OS Disk Using Azure PowerShell","og_description":"Learn how to restore an Azure VM OS disk using Azure PowerShell. Follow these steps to ensure a smooth recovery process.","og_url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/","og_site_name":"CPI Consulting","article_published_time":"2025-06-27T06:24:12+00:00","article_modified_time":"2025-06-27T06:24:14+00:00","author":"CPI Staff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"CPI Staff","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/#article","isPartOf":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/"},"author":{"name":"CPI Staff","@id":"https:\/\/cloudproinc.azurewebsites.net\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e"},"headline":"How to Restore an Azure VM OS Disk Using Azure PowerShell","datePublished":"2025-06-27T06:24:12+00:00","dateModified":"2025-06-27T06:24:14+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/"},"wordCount":350,"commentCount":0,"publisher":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/#organization"},"articleSection":["Azure","Azure PowerShell","Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/","url":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/","name":"How to Restore an Azure VM OS Disk Using Azure PowerShell - CPI Consulting","isPartOf":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/#website"},"datePublished":"2025-06-27T06:24:12+00:00","dateModified":"2025-06-27T06:24:14+00:00","description":"Learn how to restore an Azure VM OS disk using Azure PowerShell. Follow these steps to ensure a smooth recovery process.","breadcrumb":{"@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudproinc.com.au\/index.php\/2025\/06\/27\/how-to-restore-an-azure-vm-os-disk-using-azure-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cloudproinc.com.au\/"},{"@type":"ListItem","position":2,"name":"How to Restore an Azure VM OS Disk Using Azure PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/cloudproinc.azurewebsites.net\/#website","url":"https:\/\/cloudproinc.azurewebsites.net\/","name":"Cloud Pro Inc - CPI Consulting Pty Ltd","description":"Cloud, AI &amp; Cybersecurity Consulting | Melbourne","publisher":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudproinc.azurewebsites.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudproinc.azurewebsites.net\/#organization","name":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd","url":"https:\/\/cloudproinc.azurewebsites.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudproinc.azurewebsites.net\/#\/schema\/logo\/image\/","url":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","contentUrl":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","width":500,"height":500,"caption":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd"},"image":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cloudproinc.azurewebsites.net\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e","name":"CPI Staff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","caption":"CPI Staff"},"sameAs":["http:\/\/www.cloudproinc.com.au"],"url":"https:\/\/www.cloudproinc.com.au\/index.php\/author\/cpiadmin\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":53428,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/","url_meta":{"origin":53425,"position":0},"title":"Run Azure PowerShell cmdlets using Docker Containers","author":"CPI Staff","date":"June 30, 2025","format":false,"excerpt":"In this blog post, we\u2019ll show you how to run Azure PowerShell cmdlets using Docker containers. Table of contentsPrerequisitesPull the Azure PowerShell Docker ImageRun the Container and Connect to AzureRunning Scripts from Your Local Machine Azure PowerShell provides a familiar PowerShell interface to manage Azure resources and infrastructure. It enables\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 1x, \/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 1.5x, \/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 2x, \/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 3x, \/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png 4x"},"classes":[]},{"id":644,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/09\/10\/identify-azure-users-without-mfa-using-powershell\/","url_meta":{"origin":53425,"position":1},"title":"Identify Azure Users Without MFA Using PowerShell","author":"CPI Staff","date":"September 10, 2024","format":false,"excerpt":"This Microsoft Azure post will show how to Identify Azure users without MFA Using PowerShell. If you are a Microsoft Azure customer and recently logged into the Microsoft Azure portal, you have probably seen the notification that from October 15th, 2024, Azure will enforce MFA for all users. This change\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/Identify-Azure-Users-Without-MFA-Using-PowerShell.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/Identify-Azure-Users-Without-MFA-Using-PowerShell.webp 1x, \/wp-content\/uploads\/2024\/09\/Identify-Azure-Users-Without-MFA-Using-PowerShell.webp 1.5x, \/wp-content\/uploads\/2024\/09\/Identify-Azure-Users-Without-MFA-Using-PowerShell.webp 2x"},"classes":[]},{"id":53585,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/08\/08\/use-azure-managed-identity-with-azure-automation-powershell\/","url_meta":{"origin":53425,"position":2},"title":"Use Azure Managed Identity with Azure Automation PowerShell","author":"CPI Staff","date":"August 8, 2025","format":false,"excerpt":"When running scripts in Azure Automation, authentication is often the trickiest part. Your runbooks might need to connect to Azure services, Microsoft Graph, or other APIs \u2014 and that means handling credentials securely. In this guide, Use Azure Managed Identity with Azure Automation PowerShell, we\u2019ll focus specifically on User-assigned Managed\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/08\/Use-Managed-Identity-Azure-Automation.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/08\/Use-Managed-Identity-Azure-Automation.png 1x, \/wp-content\/uploads\/2025\/08\/Use-Managed-Identity-Azure-Automation.png 1.5x, \/wp-content\/uploads\/2025\/08\/Use-Managed-Identity-Azure-Automation.png 2x"},"classes":[]},{"id":369,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/11\/list-classic-azure-administrators-using-powershell-and-azure-rest-api\/","url_meta":{"origin":53425,"position":3},"title":"List Classic Azure Administrators Using PowerShell and Azure REST API","author":"CPI Staff","date":"July 11, 2024","format":false,"excerpt":"This Microsoft Azure article will show how to list classic Azure Administrators using PowerShell and Azure REST API. As an IT consultancy company that helps companies safeguard their Azure tenant, we perform many tenant assessments. As part of our identity and access review, we always check how many users have\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/AzureAdmins.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 1x, \/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 1.5x, \/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 2x, \/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 3x, \/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 4x"},"classes":[]},{"id":492,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/08\/01\/automating-access-to-microsoft-graph-api-using-azure-pipelines\/","url_meta":{"origin":53425,"position":4},"title":"Automating Access to Microsoft Graph API Using Azure Pipelines","author":"CPI Staff","date":"August 1, 2024","format":false,"excerpt":"This Azure DevOps pipelines article will show how we automate access to Microsoft Graph API using Azure DevOps pipelines. Azure pipelines is an Azure DevOps service that allows us to automate the deployment of applications, services and changes to cloud environments. Microsoft Graph API is the underlining API service that\u2026","rel":"","context":"In &quot;Azure devOps&quot;","block_context":{"text":"Azure devOps","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/azure-devops\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 1x, \/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 1.5x, \/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 2x, \/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 3x, \/wp-content\/uploads\/2024\/08\/Automating-Access-to-Microsoft-Graph-Using-Azure-DevOps-Pipelines.webp 4x"},"classes":[]},{"id":735,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/10\/07\/deploy-azure-openai-resource-using-bicep\/","url_meta":{"origin":53425,"position":5},"title":"Deploy Azure OpenAI Resource Using Bicep","author":"CPI Staff","date":"October 7, 2024","format":false,"excerpt":"In this Microsoft Azure OpenAI blog post, we will deploy an Azure OpenAI resource and an OpenAI GPT4 model using Bicep. Azure OpenAI is an enterprise-grade AI service that provides access to all the OpenAI AI models, including GPT,\u00a0DALL-E,\u00a0Whisper, and more. With Azure OpenAI, we can deploy the services using\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/Block-copy-paste-from-ios-devices.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/Block-copy-paste-from-ios-devices.webp 1x, \/wp-content\/uploads\/2024\/09\/Block-copy-paste-from-ios-devices.webp 1.5x, \/wp-content\/uploads\/2024\/09\/Block-copy-paste-from-ios-devices.webp 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=53425"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53425\/revisions"}],"predecessor-version":[{"id":53427,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53425\/revisions\/53427"}],"wp:attachment":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=53425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=53425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=53425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}