How to ensure whether we are using az modules or scripts everywhere

Sanskriti Rathore 40 Reputation points

Since AzureRM PowerShell modules are going to retire on 29 February 2024, I want to ensure that we are using az powershell everywhere in our code.
I have certain questions

  1. How can I verify that we are using az powershell everywhere.
  2. What all things do I need to verify in code?
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,562 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 8,791 Reputation points

    @Sanskriti Rathore - Thanks for reaching out to us.

    The most common places where we see AzureRM still in use are:

    • Azure automation 
    • Old Azure DevOps pipelines that are using the AzureRM modules from the distribution on the agents
    • Locally installed through Visual Studio via older components 
    • Local copy of old modules via a OneDrive synchronization (PowerShell store the modules in the Documents folder so they can end-up being replicated across systems.

    If you need more information on which AzureRM command line was called,

    We would need you to send us an email at by providing below details.

    Subject : ATTN:Monika

    1. Subscription ID
    2. A link to this thread.

    Please email us these details and we will work with you closely to get this issue taken care of and also post any findings here in the thread so the community can benefit from it.

    Thanks in advance. Looking forward for your email.

    0 comments No comments