microsoft / microsoft/azure-tools-for-java

[IntelliJ] Uncaught Exception com.azure.identity.AuthenticationRequiredException: Interactive authentication is needed to acquire token. Call Authenticate to initiate the device code authentication.

Open
#10,457 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
262
Forks
185
Avg merge
2d 21h
Merged PRs (30d)
1

Description

IntelliJ build version: 2025.1.1.1 IU-251.25410.129
OS: Mac OS X
JDK: JetBrains s.r.o. 21.0.6
Plugin version: 3.95.0-2025.1
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1512x895,layout=com.intellij.openapi.wm.impl.IdeRootPane$CustomHeaderRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

<REDACTED: Generic Secret>
<REDACTED: Generic Secret>
<REDACTED: Generic Secret>
		at com.microsoft.azure.toolkit.lib.storage.StorageAccount.getConnectionString(StorageAccount.java:109)
		at com.microsoft.azure.toolkit.lib.storage.queue.QueueModule.getQueueServiceClient(QueueModule.java:46)
		at com.microsoft.azure.toolkit.lib.storage.queue.QueueModule.loadResourceFromAzure(QueueModule.java:70)
		at com.microsoft.azure.toolkit.lib.storage.queue.QueueModule.loadResourceFromAzure(QueueModule.java:28)
		at com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule.get(AbstractAzResourceModule.java:286)
		at com.microsoft.azure.toolkit.intellij.storage.code.function.FunctionAnnotationResourcePathAnnotator.validateQueueName(FunctionAnnotationResourcePathAnnotator.java:74)
		at com.

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.

Research direction

Start with StorageAccount.getConnectionString in StorageAccount.java, then trace the queue calls through QueueModule.java and FunctionAnnotationResourcePathAnnotator.java. Reproduce the IntelliJ authentication failure and determine the expected behavior when interactive authentication is required; done means queue-name validation no longer produces the uncaught exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
authentication, cloud, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.