Hello Jeel Gajera,
Microsoft is deprecating Azure DevOps OAuth apps by 2026, so transitioning to Microsoft Entra OAuth is necessary. However, Entra OAuth currently supports only organizational accounts (work/school) and does not yet work with personal Microsoft accounts (MSA).
For now, the best approach is to migrate organizational users to Microsoft Entra OAuth while continuing to use Azure DevOps OAuth for personal accounts as the Microsoft article says:
You can register your application in Microsoft Entra ID and configure API permissions by getting token using 499b84ac-1321-427f-aa17-267ca6975798/.default scope or more specific scopes like 499b84ac-1321-427f-aa17-267ca6975798/vso.code and 499b84ac-1321-427f-aa17-267ca6975798/vso.project.
Since MSA support isn’t available yet, your application should detect the user type and direct them to the appropriate authentication method. Microsoft is currently working on native MSA support for Entra OAuth, so it's important to stay updated on their announcements. Until then, Azure DevOps OAuth remains the best option for supporting both account types.
Hope this helps!
If this answer was helpful, please click "Accept the answer" and mark Yes, as this can help other community members.
If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.