After installing a new development environment, I have a problem with performing an SQL query to the BPS_Config database. The environment was installed with my administrative account. From the database level, I can also see that the users of the service and the application pool (db owner) have permissions to the database. The application pool is the account indicated in the installer as the user to connect to the database. The message itself points to a SID that I don't have in my domain. Every time I reinstall the environment, I get the same message, but with a different SID. I haven't encountered such a problem before. I am installing on the BPS 2022.1.4.207 version.
Also from the Designer Studio level (connections), pointing to the database server and database name, I can't get in if I enter the username and password. Windows authentication works.