ACL error after migration from Windows Server 2019 to 2022
When trying to grant rights to folders/files created before moving to a new version of the Windows server, an error occurs
Set-Acl: Some or all identity references could not be translated.
After checking, the following was found out