Comments (12)
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.
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.
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.
Yes, you definitely have the old one. Run it without params to get the ver.
from armclient.
I installed from Chocolatey: choco install armclient
No version flag to check which version. Is the latest pushed to Chocolatey?
from armclient.
What version to do you have? Maybe some choco weirdness gave you 0.9.0?
from armclient.
I still had the output in my console:
Looks to me like 0.9.1.
from armclient.
Ok, let me delete mine and re-get it from chocolatey.
from armclient.
it might be bash weirdness with leading /
. Can you try with cmd.exe
from armclient.
Ah good call @ahmelsayed , I bet that's it!
from armclient.
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.
Those slash issues are ugly :(
from armclient.
Related Issues (20)
- Getting an error during installing Arm client HOT 1
- Issue getting token in Government Environment - Fairfax HOT 1
- Unhandled case: renewal fails because the token is too old
- ADAL v3 HOT 2
- Parameters in Resources#List does not work HOT 2
- Add maintainers to the Chocolatey package HOT 4
- Environment names
- Armclient Dogfood login and request is not working HOT 10
- Azure login fail with azlogin HOT 1
- Setting audience while retrieving token
- Feature idea: option to wait for provisioningState Succeeded
- misposted, please ignore
- What is the latest version? HOT 6
- Unable to login in dogfood environment HOT 1
- 403 Forbidden HOT 1
- How to replicate the armclient token generation in REST?
- Where is ArmClientGui Src?
- Support for device code login in ARM client
- Migrate from ADAL to MSAL or Azure.Identity
- How do you set the `ARMCLIENT_TENANT` environment variable correctly? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armclient.