Skip to content

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

Merged
qianwens merged 6 commits into
Azure:identityfrom
qianwens:fixstyle
Jun 10, 2020
Merged

[MSAL]Add AAD error handling, refine SP logout#13877
qianwens merged 6 commits into
Azure:identityfrom
qianwens:fixstyle

Conversation

@qianwens

@qianwens qianwens commented Jun 8, 2020

Copy link
Copy Markdown
Member

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

yonzhan commented Jun 8, 2020

Copy link
Copy Markdown
Collaborator

add to S171

@qianwens

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

ManagedIdentityCredential
)

from azure.core.exceptions import ClientAuthenticationError

Copy link
Copy Markdown
Contributor

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.

authenticated = True
except ClientAuthenticationError as e:
logger.debug('MSI authentication error: %s', e.message)
logger.info('Sniff: not an MSI object id')

Copy link
Copy Markdown
Contributor

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