-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Enable passing a tenant domain to Connect-AzureRmAccount #6822
Conversation
91f1996
to
ef7841d
Compare
Also resolves issue #6709 |
promptAction)?.FirstOrDefault(); | ||
if (tenant == null) | ||
{ | ||
throw new ArgumentNullException(string.Format("Could not find tenant id for provided tenant domain '{0}'.", tenantId)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way that we can add a test to exercise this exception?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even if this is a live only test, it would behoove us to have this to prevent regressions
…ned from initial call for SPN
Description
Fix for #3974 and #6709
Checklist
CONTRIBUTING.md
platyPS
module