Power-Maverick / DataverseDevTools-VSCode

The all-in-one tool to develop code for Dataverse/Dynamics 365. Helps you connect to a Dataverse environment, generate TypeScript definitions for entities, create a different type of Dataverse-specific projects, and much more.
https://marketplace.visualstudio.com/items?itemName=danish-naglekar.dataverse-devtools
MIT License
58 stars 15 forks source link

[Bug]: Cannot make connection after enabled MFA #174

Closed emibanana closed 2 weeks ago

emibanana commented 1 month ago

What happened?

Cannot make connection after enabled MFA. I am pretty sure I typed the correct password and username but i dont get a prompt to input my MFA, very annoying and it just straight away go to fail. MFA is very common practice please fix!

What version of the tool are you using?

v2.2.0

What version of Visual Studio Code are you running?

1.85.2

Any relevant session id from VSCode?

dd974e4a-9da3-4804-825d-bcad0b149c301729167068154

Relevant log output

VSCode version: 1.85.2. 
Extension version: 2.2.0. 
Error occured in connectDataverse command. 
Error code: undefined. 
Error message: undefined. 
Error stack: undefined.
power-maverick-bot[bot] commented 1 month ago

Thanks for raising an issue. Please make sure you have given us as much context as possible. One of the repo maintainer will respond as soon as possible.

Power-Maverick commented 2 weeks ago

Use any other type of connection when MFA is enabled. MFA dont work on username and password and that is by design from Microsoft.