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
Hanxiao Liu edited this page Nov 30, 2021
·
1 revision
Azure cli has made a breaking change since 2.30.0 that deprecated old authentication and migrate to MSAL, which will break azure-cli authentication for old maven plugins (Function: v1.11.0 lower, WebApp: v1.13.0 lower). Here is the sample error message for this issue.
Cannot read files ~/.azure/azureProfile.json and ~/.azure/accessTokens.json. Are you logged in Azure CLI?
Azure maven tooling has migrated to azure identity library for authentication which support authentication with latest azure cli, please upgrade to the latest maven plugin once you meet this issue.