Today, I was working on some plugins and there is multi factor authentication enabled on the user account which I was using and I was not sure about the process that has to be followed to login. However, after search I did find the solution for the same.
When you hit the Login button in Plugin Registration Tool with Username, Password and multi factor authentication enabled, the login fails shows the below message.
“You don’t have permission to access any of the organizations in the Microsoft Common Data Service region that you specified. If you’re not sure which region your organization resides in, choose “Don’t know” for the CDS region and try again. Otherwise check with your CDS administrator.“
To resolve the issue, you must not enter your username and password in the login window and when you click Login, you will taken to Microsoft Log-in screen as normal and asks you to enter username and password followed by MFA.
Hope this helps.