Comments (9)
Looks fine here using ARMClient v1.2.0.0:
C:\>armclient upn [email protected] PaSSworD
User: [email protected], Tenant: xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxx
(SomeTenant.onmicrosoft.com)
There are 0 subscriptions
Are you sure the password isn't tripping up the PowerShell parser? Do you have the same results in cmd.exe
?
from armclient.
I do get the same error in cmd. Is there some way to encode or encapsulate the username and password so that odd characters don't confuse anything?
Looking at it now, it returns really quickly (within 1 second, including VPN latency). whereas calls to ARMCLIENT login
take a metaphorical eternity.
from armclient.
What happens if you don't pass in the password? You should get a Password:
prompt.
from armclient.
It fails the same way.
from armclient.
PS C:\> armclient upn [email protected] fdsfds
Sequence contains no elements
Alright, looks like i can repro. Let me take a closer look at what's going on.
from armclient.
It seems to be coming from: BaseAuthHelper.GetAuthorizationResultByUpn, on the line:
var context = new AuthenticationContext
from armclient.
Is it possible that I need to pass a custom tenant Id in when trying to create the authority for accessing a school or work account
?
from armclient.
Yes, the ADAL library doesn't seem to like that. @suwatch, @ahmelsayed is this by design?
Works fine when using an org id ([email protected]).
from armclient.
In my case the tenant is [TenantGuid] ([TenantName].onmicrosoft.com)
The user is a personal hotmail account. I'm not sure about how the hotmail account has permissions to our tenant AD's OMS instance. I am not an azure administrator, nor an AD administrator.
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.