AL
AL copied to clipboard
Connection from VSCode is denied because "unsupported" platform, when Conditional Access is set on EntraID
Please include the following with each issue:
1. Describe the bug Connection to Business Central from VSCode can't be made when Entra ID Comliance policy are on. Reopen of bug #7344
2. To Reproduce VSCode uses device code auth flow to connect. Device Code is not a supported Auth Code flow with the CA Policy's for the condition "Compliant device"
Nowdays it is 2024 and many enterprise companies use CA Policy to reduce attack risks. Allow only connections from compliant devices is a very common one.
Sadly the AL Extension in VSCode does not support this. An therefore mitigate a security risk as all developer/users who connect from VSCode to Entra has to be exclude.
3. Expected behavior
VSCode AL Extensions should connect via user authentication workflow Entra ID
4. Actual behavior
VSCode AL Extension connects to Entra ID via Device Code Auth Flow
Internal work item: AB#506464
Hello, we have the exact same issue and we also think that the behavior mentioned in "3." would be the best option. We also created a ticket at Microsoft, but we were told that raising an issue here is the correct procedure.
Hi @qutreson,
have you made in progress regarding this issue? We are facing the same problem.