Hi @Eric,
Thanks for reaching out to Microsoft Q&A.
It seems the original user who created the Azure DevOps organization was deleted and re-added, causing a GUID change. The second user can log in but lacks admin rights.
- First, verify if the second user is an Organization Admin in ADO under Organization Settings => Security => Azure DevOps Administrators. If not, elevate their permissions in Azure Active Directory (AAD) by adding them as an admin under Enterprise Applications => Users and Groups.
- If the second user is already an admin in ADO, ensure they’re also added to the Project Administrators group.
- If needed, use the Azure DevOps REST API to modify permissions directly.
- Authenticate using an existing Service Principal or another high-privileged account.
- Use the API to manage users and assign the second user to Azure DevOps administrators or the Project Administrators group.
Hope this helps!