Azure DevOps pipeline throwing "az-accounts" module not found error which is running using VMSS agent (windows).

mahesh kandharkar 15 Reputation points
2024-01-02T07:31:31.6233333+00:00

I have setup virtual machine scale set agent (windows) and using that in azure devops pipeline and code is written in PowerShell and when the job is getting started it's throwing an error "az-accounts" module not found.

please suggest how it fix it.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,944 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,767 Reputation points Microsoft Employee Moderator
    2024-01-13T12:46:25.79+00:00

    @mahesh kandharkar Azure DevOps team and community are active and answering questions on https://developercommunity.visualstudio.com/spaces/21/index.html
    I would recommend posting your question there and DevOps experts will guide you. You can also ask for help on Stack overflow: https://stackoverflow.com/questions/tagged/azure-devops
    or request for support here: https://azure.microsoft.com/en-us/support/devops/

    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.