-
Notifications
You must be signed in to change notification settings - Fork 150
Authentication issue with azure cli 2.30.0
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.
- Home
- Authentication
- Proxy
- Common Configurations
-
Maven Plugin for Azure Web Apps
- Quickstarts
- Goals
- Configuration Details
- Samples
-
Maven Plugin for Azure Functions
- Quickstarts
- Archetype
- Goals
- Configuration Details
-
Maven Plugin for Azure Spring Apps
- Quickstarts
- Goals
- Configuration Details
- Maven Plugin for Azure Container Apps
- Using in CI/CD