Unable to authenticate to BC on Linux
I am running Visual Studio Code on Linux Fedora 42 having AL Extension installed same project and launch.json works on Windows however if i try to download symbols from server on Linux it prompts for username and password and fails with error:
[2025-05-14 17:35:20.91] Please authenticate in the Visual Studio Code... <I enter username and password in pop up>
[2025-05-14 17:35:25.51] Error: Windows Data Protection API (DPAPI) is not supported on this platform.
This means on Linux I cannot download nor do anything with the BC server.
Same config works flawlessly on Windows.
Is there any fix to this?
Internal work item: AB#580644
Have you tried going back to device authentication by disabling interactive login setting?
Dear Steffen, Unfortunately even unchecking this setting does not solve the issue. My on-prem BC instance uses NavUserPassword so in launch.json I specified "UserPassword" and this still prompts the same way for user and password and producing same error.
@dsichrovsky the DPAPI error should not block you from authenticating - are you getting other issues? I think there is a different bug in there on the username/password auth path that might be resolved by clearing the credentials and retrying. Still looking into it but not on top of the stack.