Hello @RyanJagdfeld-4166
Thank you for reaching out to Microsoft Q & A!
Based on the reported symptoms, including the 500 Internal Server Error when accessing Azure DevOps through the Azure portal, the 401 Unauthorized error when accessing the Azure DevOps organization directly, and the authentication failures encountered during sign-in, the issue may be related to an identity or tenant association mismatch between the Azure DevOps organization and Microsoft Entra ID.
Please verify that you are signing in with the exact User Principal Name (UPN) associated with your Azure DevOps identity, as Azure DevOps uses the UPN for Microsoft Entra authentication and does not support authentication through email aliases.
If the Azure DevOps organization is connected to Microsoft Entra ID, ensure that the sign-in account belongs to the same tenant that the organization is associated with. Multiple accounts across different tenants or account-type mismatches can result in authentication failures and authorization errors.
Additionally, if there have been any recent changes such as a UPN change, domain change, tenant migration, account recreation, or Azure DevOps organization directory reassociation, please share those details, as they may help identify the root cause.
For additional guidance, please refer to the following Microsoft documentation:
- https://learn.microsoft.com/en-us/azure/devops/user-guide/troubleshoot-connection?view=azure-devops#troubleshoot-authentication-errors
- https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/connect-organization-to-azure-ad?view=azure-devops
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.