-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[MSAL]Add AAD error handling, refine SP logout #13877
Conversation
add to S171 |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
@@ -22,6 +22,8 @@ | |||
ManagedIdentityCredential | |||
) | |||
|
|||
from azure.core.exceptions import ClientAuthenticationError |
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.
Please delay this import to void performance downgrade. See #13843.
id_type = self.MANAGED_IDENTITY_OBJECT_ID | ||
authenticated = True | ||
except ClientAuthenticationError as e: | ||
logger.debug('MSI authentication error: %s', e.message) | ||
logger.info('Sniff: not an MSI object id') |
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.
Consider using more instructive word other than Sniff
. Also MSI
is a deprecated name. Let's use Managed Identity
.
Description
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.