Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -TenantDomain to Connect-Az(ureRm)Account #7659

Open
jseerden opened this issue Oct 24, 2018 · 2 comments
Open

Add -TenantDomain to Connect-Az(ureRm)Account #7659

jseerden opened this issue Oct 24, 2018 · 2 comments

Comments

@jseerden
Copy link

Connecting to a different Tenant can now be done with Connect-AzureRmAccount -TenantId

Because a GUID is hard to remember, I would like to be able to connect using the TenantDomain.

For example:
Connect-AzureRmAccount -TenantDomain customer.onmicrosoft.com

This is also available in the AzureAD Module.

@cormacpayne
Copy link
Member

@jseerden Hey John, this functionality should've been enabled as of PR #6822 -- what are you seeing when you run the above command?

@jseerden
Copy link
Author

Hi @cormacpayne

I notice that we can use the tenant domain name now with the TenantId parameter (tried that months ago, didn't work :))

When I try to connect using a TenantDomain (using the -TenantId parameter), I receive an error. Using the TenantId (GUID) of that same domain name, everything works as expected.

I am using Delegated Administrative Permissions from CSP though, providing credentials of a user account in the partner directory.

image

@maddieclayton maddieclayton modified the milestones: 2018-11-06, 2019-01-15 Oct 30, 2018
@markcowl markcowl removed this from the 2019-01-15 milestone Dec 14, 2018
@cormacpayne cormacpayne self-assigned this Dec 18, 2018
@cormacpayne cormacpayne added this to the 2019-01-29 milestone Dec 18, 2018
@markcowl markcowl removed this from the 2019-01-29 milestone Jan 18, 2019
@markcowl markcowl added the MSAL label Jan 28, 2019
@markcowl markcowl added this to the Backlog milestone Mar 26, 2019
@cormacpayne cormacpayne removed their assignment Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants