microsoft / BotFramework-Emulator

A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
https://aka.ms/botemulator
MIT License
1.82k stars 756 forks source link

Sign in with Azure - Page Not Found #2393

Closed dinobrago closed 2 years ago

dinobrago commented 2 years ago

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

Emulator 4.14.1 Platform: Windows 10

Describe the bug

Attempting to login to Azure to access various services for a bot configuration file

To Reproduce

  1. Steps to reproduce the behavior:
  2. Start the Emulator
  3. Go to File > Sign in with Azure
  4. The "Sign in with an Azure" panel appears.
  5. Click on "Sign in with Azure" button
  6. A window appears "Page not found."

Expected behavior

There should be the Azure authentication window

Screenshots

Additional context

This has worked on this specific machine in the past.

Things that I've tried:

  1. Reinstalling emulator
  2. Verifying azure account - Full access via chrome & portal.azure.com & powershell
  3. Reviewed other similar bug reports
  4. Cleared the cache (emulator)
  5. Reinstalling the emulator for everyone

[bug]

anishprasad01 commented 2 years ago

Hi @dinobrago,

Could you try clearing the Emulator state (File -> Clear state) and also perhaps clearing your caches in the dev tools (Ctrl+Shift+I) and try signing in again? I was able to sign-in to Azure on version 4.14.1 on Windows.

dinobrago commented 2 years ago

Yes, I tried that and it did not work. Tried it again per your request with no effect. Same “Page not found” result.

anishprasad01 commented 2 years ago

Strange. We're unable to reproduce this scenario. Could you check the dev console when you try to sign in and show us what errors appear there?

dinobrago commented 2 years ago

When I open the console on the emulator, I see the attached image. When I attempt to log in to Azure, I do not see any additional entries in the console. image

dinobrago commented 2 years ago

I installed the emulator on another machine (a vm on the same machine actually) and I can log into Azure from the Emulator fine. Unfortunately, that doesn't solve my problem.

anishprasad01 commented 2 years ago

I suppose you could try an older version, making sure to completely wipe the prior install?

I'm honestly not quite sure what to do here, since this issue is specific to your environment and not something we can reproduce.

dinobrago commented 2 years ago

I understand. Thanks.

dinobrago commented 2 years ago

To finish up:

  1. I tried uninstalling and doing a deep clean of all emulator references. Reinstalled, same problem.

Finally some success:

  1. Uninstalled 4.14. Downloaded 4.8 (picked a random). With this version, I can login to azure.

  2. Installed 4.14 over 4.8 and I can login to Azure now.