Hi @Apil Faterpenkar ,
Thanks for reaching out to Microsoft Q&A.
Refer https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/resolve-orphaned-organization?view=azure-devops#when-your-azure-devops-administrator-isnt-a-member-of-the-target-organization to resolve 401 error.
Try below steps:
- Sign in to your organization (
https://dev.azure.com/{yourorganization}) using the credentials granted to the Azure DevOps Administrator role in Microsoft Entra ID. An error page appears where you can claim ownership. - Select Claim Ownership, provide a short justification, and then select Claim Ownership once again. A notification of the ownership transfer with your provided justification gets sent to all Azure DevOps Administrators in your Microsoft Entra ID. You will be redirected to the organization overview page.