Forum Discussion
heenachauhan
Feb 05, 2022Copper Contributor
Suddenly all Azure DevOps APIs giving 401 error
Hello team,
Suddenly all Azure DevOps APIs are throwing 401 Unauthorized errors. Please do needful.
It is working fine with old organizations. It is not working which organizations are created after 4th February 2022.
Here is the repro steps:
1) Create Azure DevOps Application using vso.graph vso.work_full scopes.
2) Try to get projects and other information using rest API.
Here is the project API: https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/list?view=azure-devops-rest-6.0
Here is the response:
- heenachauhanCopper Contributor
Hello team, Now this is fixed. The issue is in new organization the third party OAuth is disabled.
To access any data need to On the Third party access via OAuth.
After that it is working fine.