[SQL] Adding AAD-only Support for SQL Managed Instances and Servers - #15292
Merged
Conversation
jard285 (jard285)
requested review from
Zunli Hu (Juliehzl) and
Jared Moore (jaredmoo)
as code owners
September 24, 2020 21:41
Contributor
|
Looks good. |
Yong Zhang (yonzhan)
requested review from
Yu Chen (jsntcy),
Myron (mmyyrroonn) and
Xing Zhou (zhoxing-ms)
September 25, 2020 10:57
Collaborator
|
SQL |
Zunli Hu (Juliehzl)
requested changes
Oct 14, 2020
Zunli Hu (Juliehzl)
left a comment
Contributor
There was a problem hiding this comment.
please add test scenarios for all new commands and parameters.
jard285 (jard285)
requested a review
from Yishi Wang (evelyn-ys)
as a code owner
October 20, 2020 13:32
Zunli Hu (Juliehzl)
requested changes
Oct 20, 2020
Zunli Hu (Juliehzl)
left a comment
Contributor
There was a problem hiding this comment.
Could you also add test scenarios for your new commands?
Contributor
Author
|
Sure. I'll write them up. |
Contributor
Author
|
Tests were added |
Contributor
Author
|
Style updates |
Contributor
Author
|
Zunli Hu (@Juliehzl) I don't think that error is caused by me. according to the logs the error comes from loading ai-examples extension which I haven't touched. Please give guidance on how to proceed. |
Contributor
Yes. We could fix the CI error. |
Contributor
Author
|
Changes were made! Zunli Hu (@Juliehzl) |
Zunli Hu (Juliehzl)
approved these changes
Oct 22, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding support for a new feature to az cli. Azure Active Directory only allows for only AD users to be admins not traditional username/password combinations. This feature has been added to Azure Python SDK and is now being supported in az cli
Using either a managed instance or server with a ad admin run:
az sql server ad-only-auth enable
az sql server ad-only-auth disable
az sql server ad-only-auth get
az sql mi ad-only-auth enable
az sql mi ad-only-auth disable
az sql mi ad-only-auth get
to enable, disable and show AAD only authentication.