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

feat: Added support for authentication with tenants which require explicit MFA #6

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

StiviiK
Copy link
Collaborator

@StiviiK StiviiK commented Aug 10, 2023

Some tenants requires explicit MFA authentication, which was previously not possible. The CLI would display the following warning:

WARNING: The following tenants require Multi-Factor Authentication (MFA). Use 'az login --tenant TENANT_ID' to explicitly login to a tenant.
WARNING: _GUID_ 'Contoso Inc.' 
[...]

This PR adds a new flag --force-mfa which will trigger an authentication to each tenant separately (which allows MFA flows).

Copy link
Member

@nmeisenzahl nmeisenzahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StiviiK StiviiK merged commit 3f72698 into main Aug 10, 2023
@StiviiK StiviiK deleted the feature/tenant-mfa-support branch August 21, 2023 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants