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

Sanskriti Rathore 40 Reputation points
2023-11-17T12:01:41.7766667+00:00

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?
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,460 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 12,861 Reputation points
    2023-11-27T16:37:32.51+00:00

    @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 AzCommunity@Microsoft.com 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.