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

[MSAL]Add AAD error handling, refine SP logout #13877

Merged
merged 6 commits into from
Jun 10, 2020

Conversation

qianwens
Copy link
Member

@qianwens qianwens commented Jun 8, 2020

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.

@yonzhan
Copy link
Collaborator

yonzhan commented Jun 8, 2020

add to S171

@qianwens
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@@ -22,6 +22,8 @@
ManagedIdentityCredential
)

from azure.core.exceptions import ClientAuthenticationError
Copy link
Member

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')
Copy link
Member

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.

@qianwens qianwens merged commit 6e46db4 into Azure:identity Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants