Giter VIP home page Giter VIP logo

Comments (12)

davidebbo avatar davidebbo commented on June 16, 2024

To isolate whether it's spn related, does it work if you use regular login? i.e. run armclient clearcache and then directly run your GET command, which will prompt you to log in.

from armclient.

davidebbo avatar davidebbo commented on June 16, 2024

Also, makes sure you have the latest tool: 0.9.1 (or later). In the earlier one, the hostname was not optional. Come to think of it, that's much more likely to be your issue :)

from armclient.

wadewegner avatar wadewegner commented on June 16, 2024

Note: running the following command works:

armclient get https://management.azure.com/subscriptions?api-version=2014-04-01

I get the expected Json emitted.

from armclient.

davidebbo avatar davidebbo commented on June 16, 2024

Yes, you definitely have the old one. Run it without params to get the ver.

from armclient.

wadewegner avatar wadewegner commented on June 16, 2024

I installed from Chocolatey: choco install armclient

No version flag to check which version. Is the latest pushed to Chocolatey?

from armclient.

davidebbo avatar davidebbo commented on June 16, 2024

What version to do you have? Maybe some choco weirdness gave you 0.9.0?

from armclient.

wadewegner avatar wadewegner commented on June 16, 2024

I still had the output in my console:

choco

Looks to me like 0.9.1.

from armclient.

davidebbo avatar davidebbo commented on June 16, 2024

Ok, let me delete mine and re-get it from chocolatey.

from armclient.

ahmelsayed avatar ahmelsayed commented on June 16, 2024

it might be bash weirdness with leading /. Can you try with cmd.exe

from armclient.

davidebbo avatar davidebbo commented on June 16, 2024

Ah good call @ahmelsayed , I bet that's it!

from armclient.

wadewegner avatar wadewegner commented on June 16, 2024

Ah, this slash issue again? =)

From cmd.exe it works as expect.
From msys/cygwin it works when changed to: armclient get \subscriptions?api-version=2014-04-01
From msys/cygwin this command also works: armclient get https://management.azure.com/subscriptions?api-version=2014-04-01
From msys/cygwin it also simply works as: armclient get subscriptions?api-version=2014-04-01

Lots of options.

Thanks for the quick response and sorry for the trouble!

from armclient.

davidebbo avatar davidebbo commented on June 16, 2024

Those slash issues are ugly :(

from armclient.

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.