I am not able to authenticate a created console java application on AZURE AD via device code flow upon generated URL "https://microsoft.com/devicelogin" and code. It says please login with a work/school account, not a personal microsoft account

Abhilasha Mishra 1 Reputation point
2021-05-27T14:49:31.02+00:00

100240-img.pngI am not able to authenticate a created console java application on AZURE AD via device code flow upon generated URL "https://microsoft.com/devicelogin" and code. It says please login with a work/school account, not a personal microsoft account

Although, during app permission setting in Azure AD, I selected : Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
this option.

Microsoft Security Microsoft Entra Microsoft Entra ID
Microsoft Security Microsoft Graph
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.