pnp / vscode-viva

With the SharePoint Framework Toolkit extension, you can create and manage your SharePoint Framework solutions on your tenant. All actions you need to perform during the development flow are at your fingertips.
https://marketplace.visualstudio.com/items?itemName=m365pnp.viva-connections-toolkit
MIT License
34 stars 14 forks source link

🐞 [Bug]: Unable to connect to an account #31

Closed a1mery closed 1 year ago

a1mery commented 1 year ago

📝 Describe the bug

Unable to connect to an account.

👣 Steps To Reproduce

Maybe I'm missing something but I'm not able to connect to my tenant from the account section:

  1. Install the Viva Connections Toolkit
  2. Access the toolkit home page
  3. The account section doesn't display a button to connect to an account

📜 Expected behavior

I should be able to connect to my M365 tenant from the account section.

📷 Screenshots

image

💻 Desktop (please complete the following information):

🤔 Additional context

Adam-it commented 1 year ago

@a1mery sorry to hear you are having trouble with the extension. The extension is still in the early stage so we probably did not catch all the edge cases so first of all I would like to thank you for opening an issue and sharing your feedback 👍 Could you provide the additional details:

could you try those steps to trouble shoot the problem (the basic idea is to use commands instead of clicking the UI): please do the following:

  1. open VS Code and wait for the extension to start and for the error to reproduce
  2. hit F1 (command pallete)
  3. type viva Connections Toolkit: Sign out from M365
  4. then do viva Connections Toolkit: Sign in from M365 and follow the wizard steps
  5. after that let's see if the UI will show your account. If so please log out using the UI and retry login
a1mery commented 1 year ago

I tried this: viva Connections Toolkit: Sign out from M365 and it worked, I could sign in to my account using the UI :) image

If it helps:

Thank you @Adam-it for your help and your work on this great extension !

Adam-it commented 1 year ago

Awesome to hear you were able to resolve the issue 👍. You rock 🤩. It's really hard to say what might had happened at this time 🤔 I tried to debug the issue but since I was not able to reproduce it I have no other fix besides the advice I gave you for now. Since it's working currently let's close it for now 👍 Once again thanks for your feedback and tests