Hi Ahmed
Thank you for providing the additional details and logs.
Based on the information shared, the SQL Server instance and Azure DevOps databases were configured with the expected collation, and existing projects continued to function normally. The issue was limited to the creation of new Team Projects and Project Collections after upgrading to Azure DevOps Server 2022.2.
During the investigation, we reviewed the project creation logs, validated the SQL Server and Azure DevOps database collations, and identified that the failure occurred during the Create Team Project workflow when an invalid collation value was being generated.
To address the issue, Microsoft recommended updating the logic in the prc_CreateGroups stored procedure within the Azure DevOps Configuration database so that the invalid collation value is no longer generated during Team Project and Collection creation.
As a result, the recommended resolution is:
- Verify that the SQL Server and Azure DevOps databases are using the expected collation.
- Review the prc_CreateGroups stored procedure in the Azure DevOps Configuration database.
- Apply the Microsoft-recommended modification to the stored procedure logic.
- Retest Team Project or Collection creation after the change.
If you are experiencing the same "Invalid collation 'Latin1_General_CI_AI_KI_WS'" error after upgrading to Azure DevOps Server 2022.2, reviewing and updating the prc_CreateGroups stored procedure as recommended by Microsoft should help resolve the issue.
Additionally, it is recommended to monitor future Azure DevOps Server updates and release notes for a permanent product fix.
If the assistance was helpful, kindly take a moment to click on Accept Answer and click on Yes. It will be helpful for other community members.
Thank you!