microsoft / microsoft/azure-tools-for-java

Intellij@Linux - can't sign in to Azure

Open
#6,189 7 comments 0 reactions 1 assignee View on GitHub

@andxu is already working on this.

Since Dec 10, 2021.

Module: Auth P3 Reason: external State: Resolved Type: Bug workaround
Dominant language
Java
Stars
262
Forks
185
Avg merge
2d 21h
Merged PRs (30d)
1

Description

Hi, today I've encountered an issue when establishing local environment for Azure Function development.

I've Intellij IDEA Ultimate 2021.3 (Build #IU-213.5744.223, built on November 27, 2021) with Azure Toolkit (3.59.0-2021.3) installed on Manjaro 21.2.0 Qonos linux. No matter what authentication method I choose I get this exception in idea.log:

2021-12-09 21:22:15,596 [  74844]  ERROR - ation.PersistentTokenCacheImpl - Shared token cache is unavailable in this environment. 
2021-12-09 21:22:15,598 [  74846]  ERROR - .identity.DeviceCodeCredential - Azure Identity => ERROR in getToken() call for scopes [https://management.core.windows.net//.default]: Shared token cache is unavailable in this environment.

Is there any hotfix, workaround or solution?
Thanks in advance

Michal

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.