Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I am trying to open a Synapse notebook from VSCode; When I do so, VSCode requests me to sign in using my MS Fabric username and password. As soon as I do that, I get "MSAL authentication code login failed." in VSCode from Synapse VS Code (extention).
I am running on MacOS. Has anyone faced this issue?
Thanks
Hi @sartin
Thanks for using Fabric Community.
"MSAL authentication code login failed" error indicates that the Synapse VS Code extension encountered a problem acquiring a token from the Microsoft identity platform using MSAL. This could be due to various reasons like incorrect credentials, network issues, or configuration problems.
Troubleshooting Steps:
1) Clear cache and user data and retry to login.
2) Uninstall and reinstall the Synapse VS Code extension. Please install the prerequisites also.
If the issue still persists, this might require a deeper investigation from our engineering team and they can guide you better. Please go ahead and raise a support ticket to reach our support team:
https://support.fabric.microsoft.com/support
Please provide the ticket number here as we can keep an eye on it.
Hope this helps. Please let me know incase of further queries.
Hi @sartin
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
Otherwise, will respond back with the more details and we will try to help.
Thanks
Hi @sartin
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
Otherwise, will respond back with the more details and we will try to help.
Thanks