Share via

az login No subscriptions found for

Salam ELIAS 282 Reputation points
2026-04-02T09:18:49.53+00:00

all of a sudden on a win 10 desktop, I try to login to azure using (I get a dialog box with my email, then password)

az login

I get

No subscriptions found for myemail

Whereas I do the same thing from laptop It goes through and get connected

I also used

az login --use-device-code

but it did not help

Thanks form your help

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author
  1. Sridevi Machavarapu 26,995 Reputation points Microsoft External Staff Moderator
    2026-04-02T10:09:30.03+00:00

    Hello Salam ELIAS,

    This usually means the sign-in succeeds, but no subscriptions are returned in that session. Since it works on your laptop, it’s likely something local to that desktop.

    Try clearing the CLI session and signing in again:

    az account clear
    az logout
    

    Then delete the .azure folder from your user profile and run az login.

    Also check the tenant you’re signing into:

    az account tenant list
    

    If needed, sign in with the correct tenant:

    az login --tenant <tenant-id>
    

    You can verify what’s available with:

    az account list --output table
    

    If nothing is listed, it’s usually due to the wrong tenant being used or the account not having access to a subscription in that context.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.