Can't use any azure services on visual studio but works fine on vscode

VINICIUS TORRES CANCELA 20 Reputation points
2023-05-06T18:10:04.69+00:00

No matter what I do it never gets out of this part. I was able to deploy and use azure services fine on azure portal and vs code, but my visual studio refuses to accept that my account has an azure subscription, how can I solve this?User's image

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,764 questions
0 comments No comments
{count} votes

Accepted answer
  1. VasimTamboli 4,785 Reputation points
    2023-05-06T18:39:12.1833333+00:00

    It's possible that Visual Studio is not properly configured to connect to your Azure subscription. Here are some steps you can try to troubleshoot the issue:

    Ensure that you are signed in to Visual Studio with the same Microsoft account that has access to the Azure subscription.

    Check that you have the latest version of the Azure SDK for .NET installed. You can download it from the Visual Studio Marketplace or from the Microsoft website.

    Try clearing the Visual Studio cache by deleting the "%LOCALAPPDATA%\Microsoft\VisualStudio<version>\ComponentModelCache" folder, where <version> is the version of Visual Studio you are using.

    Verify that you have selected the correct Azure account in Visual Studio by going to "Tools" > "Options" > "Azure Service Authentication". Under "Accounts", make sure that the correct account is selected.

    If none of the above steps work, try resetting your Visual Studio settings to default. You can do this by going to "Tools" > "Import and Export Settings" > "Reset all settings".

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful