Giter Club home page Giter Club logo

Comments (3)

Claudio-Merola avatar Claudio-Merola commented on May 27, 2024

Hi @gerardjongh

We use az CLI to get the subscriptions, at line 307 with "az account list"

What version of the script are you running? In the past we tried to use powershell for that, but ended up leading to many problems, so we changed back to az cli

from ari.

gerardjongh avatar gerardjongh commented on May 27, 2024

Hi @gerardjongh

We use az CLI to get the subscriptions, at line 307 with "az account list"

What version of the script are you running? In the past we tried to use powershell for that, but ended up leading to many problems, so we changed back to az cli

Hi @Claudio-Merola,
Sorry, i was not quite clear in my comment, but i am using the Azure Automation version (in an automation account).
So i am talking about the Automation/ARI_Automation.ps1

So i think in that script the lines 97 and 98 can be replaced by
$Subscriptions = Get-AzSubscription | Where-Object {$_.State -ne 'Disabled'}

from ari.

Claudio-Merola avatar Claudio-Merola commented on May 27, 2024

Hi @gerardjongh ,

Oh, I see, now it makes sense lol

I made the change in the script. Thanks for the heads up

from ari.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.