You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In response to an urgent security request, Track 1 Azure Python SDK support has been dropped in Azure CLI 2.70.0 (#29631).
Extensions that still rely on Track 1 SDKs will encounter failure when creating a credential with Profile.get_login_credentials():
TypeError: Profile.get_login_credentials() got an unexpected keyword argument 'resource'
Solution (for extension owners)
Please take below steps to adapt to this change:
Migrate all underlying Azure Python SDKs to Track 2.
Instead of passing resource to Profile.get_login_credentials(), pass scopes to the client factory as credential_scopes. [Core] Drop Track 1 SDK authentication #29631 contains some examples of this migration.
Workaround (for users)
Please use Azure CLI 2.69.0 or below, or the LTS version 2.66 before the extension is migrated to Track 2 Azure Python SDKs.
If you have any questions, please comment under this issue.
In response to an urgent security request, Track 1 Azure Python SDK support has been dropped in Azure CLI 2.70.0 (#29631).
Extensions that still rely on Track 1 SDKs will encounter failure when creating a credential with
Profile.get_login_credentials():Solution (for extension owners)
Please take below steps to adapt to this change:
resourcetoProfile.get_login_credentials(), passscopesto the client factory ascredential_scopes. [Core] Drop Track 1 SDK authentication #29631 contains some examples of this migration.Workaround (for users)
Please use Azure CLI 2.69.0 or below, or the LTS version 2.66 before the extension is migrated to Track 2 Azure Python SDKs.
If you have any questions, please comment under this issue.