Ask questions for AzureRM module retire

Yuxin Yan 0 Reputation points
2024-01-10T03:58:11.8266667+00:00

Hi team. Wish you are well.

I have a question for AzureRM module retire. How could I confirm the retire scope or my upgrading scope?

Because such as if we have some classic cloud service, and use Get-AzureService, and then I search this command which is in the Azure module (in this link: https://video2.skills-academy.com/en-us/powershell/module/servicemanagement/azure/get-azureservice?view=azuresmps-4.0.0), for the classic resources will be will be retired on August 31st, 2024. So we could keep it for now and just focus on AzureRM module, is that right? (if not, we need to upgrade to ARM resources and use Get-AzService?)

Why I ask for this question?

Because when I download the azureRM module, it includes Azure.Storage folder: https://github.com/MicrosoftDocs/azure-docs-powershell/tree/main/azurermps-6.13.0/Azure.Storage. so when the AzureRM retire, I also couldn't use the script such as "Get-AzureStorageAccount" in azure.storage. is that right? this script use to find the classic storage account. But if the script will be retired, we need to move classic storage account to ARM storage account?

Thanks for your help.

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
668 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,871 questions
Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
224 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,352 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Luca Lionetti 3,136 Reputation points
    2024-01-10T12:55:00.63+00:00

    Hi,

    Welcome to Microsoft Q&A community forum!

    I confirm that Azure RM will be decommissioned.

    Because Az PowerShell modules now have all the capabilities of AzureRM PowerShell modules and more, we'll retire AzureRM PowerShell modules on 29 February 2024.

    To avoid service interruptions, update your scripts that use AzureRM PowerShell modules to use Az PowerShell modules

    Refer to the following links for necessary activities

    https://video2.skills-academy.com/en-us/powershell/azure/migrate-from-azurerm-to-az?view=azps-11.1.0

    https://video2.skills-academy.com/en-us/powershell/azure/quickstart-migrate-azurerm-to-az-automatically?view=azps-11.2.0

    Hope this helps

    Cheers

    Luca

    Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues


  2. Prrudram-MSFT 22,941 Reputation points
    2024-01-18T20:01:14.08+00:00

    Hi Yuxin Yan

    To your follow up question,

    Yes, you will need to migrate your classic storage accounts to ARM storage accounts and use the Get-AzStorageAccount cmdlet in the Az module to manage them.

    It's important to note that the AzureRM module is being retired in favor of the newer Az module, which provides improved performance, cross-platform support, and more consistent user experience. Microsoft recommends that you migrate your scripts and automation to the Az module as soon as possible to take advantage of these benefits and ensure that your scripts continue to work after the AzureRM module is retired.

    I hope this helps clarify the situation. Let me know if you have any further questions or concerns.

    If I have answered your query, please click "Accept as answer" as a token of appreciation

    0 comments No comments