Visual Studio cannot find my Azure Subscription

Picard 0 Reputation points
2024-08-15T20:02:58.1533333+00:00

When I attempt to Publish my Web App using the Publish solution feature of Visual Studio it says "We did not find an Azure Subscription."

I have a paid subscription on Azure and I have created a Web App service.

The email I am using for my Azure account for some reason is associated with an IT account and a Personal account. I am not certain if that is the issue.

Thank you for your Assistance.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,246 Reputation points Microsoft Vendor
    2024-08-16T08:11:45.43+00:00

    Hello @Picard,

    In case the issue is caused by VS cache, you can try following:

    Close VS, find and rename this folder => C:\Users\username\AppData\Local\.IdentityService and this folder => C:\Users\username\AppData\Local\Microsoft\VSCommon\OnlineLicensing, restart VS and sign in VS again.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Konstantinos Passadis 19,251 Reputation points MVP
    2024-08-15T20:15:19.82+00:00

    Hello @Picard

    It is a common issue

    Please have a look here

    https://stackoverflow.com/questions/24507589/visual-studio-not-finding-my-azure-subscriptions

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    0 comments No comments

Your answer

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