Skip to content

Conversation

@fengzhou-msft
Copy link
Member

@fengzhou-msft fengzhou-msft commented Jan 26, 2021

Description

Resolve #15212

With msal 1.9.0, the ClientApplication.acquire_token_by_refresh_token function supports getting ssh cert with a refresh token, so the hack of using the inherited AdalRefreshTokenBasedClientApplication can be removed.

Testing Guide

msal is now only used in vm ssh scenario. To test the scenario, follow the steps in login-using-aad before Using Conditional Access, then install the ssh extension:
az extension add -s https://azcliprod.blob.core.windows.net/cli-extensions/ssh-0.1.4-py3-none-any.whl -y
Run the command to login to vm with AAD:
az ssh vm -g <rg> -n <vm_name>

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 Jan 26, 2021

bump msal

@jiasli jiasli marked this pull request as draft February 2, 2021 04:20
@fengzhou-msft fengzhou-msft changed the title {Packaging} Bump msal and msal-extensions {Packaging} Bump msal and remove msal-extensions Feb 12, 2021
@fengzhou-msft fengzhou-msft marked this pull request as ready for review February 23, 2021 03:42
@fengzhou-msft fengzhou-msft merged commit ce5f382 into Azure:dev Feb 23, 2021
@ivanst0
Copy link

ivanst0 commented Feb 23, 2021

Thank you @fengzhou-msft!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compute az vm/vmss/image/disk/snapshot Core CLI core infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

msal and msal extensions pinned to old versions

5 participants