ADA tool needs to check az login

Open
#667 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, python
Domain
cli, cloud

Research direction

The issue names no files, tests, or entry points; start by locating ADA's conversion entry point and where Azure CLI commands are invoked. Reproduce with an expired az session, then verify that conversion checks login first and provides the az login guidance instead of failing on every iteration.

Written by the indexing model from the issue text.

Description

Before attempting conversion ADA needs to ensure that the az client is logged in otherwise it will fail every iteration with the following error:

StdErr: ERROR: AADSTS70043: The refresh token has expired or is invalid due to sign-in frequency checks by conditional access. The token was issued on 2025-02-20T05:53:09.5071163Z and the maximum allowed lifetime for this request is 43200. Trace ID: 5cb99b7e-aa19-40bb-8d4a-1549475d3a00 Correlation ID: 239f3c09-b442-4380-b2ea-5fd184ee1269 Timestamp: 2025-03-11 21:26:54Z
Interactive authentication is needed. Please run:
az login --scope https://management.core.windows.net//.default

cc @naman-msft

Dominant language
Python
Stars
13
Forks
26
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from MicrosoftDocs/executable-docs

All issues in MicrosoftDocs/executable-docs

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.