Publish Blazor Server to Azure not connecting to Azure account

Russ 0 Reputation points
2023-02-25T18:21:35.2766667+00:00

publish

When I Sign In with my user and password it just closes the popup with no error message. I am sure the user and password are correct. I have the latest VS 2022 installed. I set up my SQL db on my Azure account on 2-24-2023 and this works fine with my Blazor server running locally. Looking at my Azure subscription I don't see anything that looks bad. I did initially sign up with the free account a year ago or so. My old Blazor website that I published to Azure still works fine. I am trying to publish a new Blazor server(not at all related to the old website).

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,036 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Russ 0 Reputation points
    2023-02-26T02:33:18.3166667+00:00

    https://developercommunity.visualstudio.com/t/cant-connect-to-my-azure-account-from-vs2019-commu/1176306

    per Chris Mann

    This may be a symptom of conditional access or multi-factor authentication issues. Looking at the logs files provided I do not see any errors which should cause the issue you are seeing. However if the issue is MFA/CA related it may show up with this kind of behavior.

    If you can try the following steps to sign in and let me know if they work or not.

    To use this flow you may need a newer version of visual studio. 16.6+

    1. Sign out of visual studio
    2. https://docs.microsoft.com/en-us/visualstudio/ide/work-with-multi-factor-authentication?view=vs-2019#enabling-system-web-browser
    3. Sign in again
    4. Go to the publish step.