Hi guys, I was referred to the forums for this one. I'll just copy my initial opening remarks from my support ticket:
"I have a PowerShell script that performs restores. Since we upgraded one of our Windows servers hosting Oracle database to Windows Server 2022, we get the following error when attempting to use the PowerShell script:
Restore-VEORDatabase : The security identifier is not allowed to be the owner of this object.
Based on what I have seen online for this error, it is an error generated when PowerShell attempts to change attributes on a file or folder. The "Get-ACL" command seems to be the culprit in the majority of these cases.
I don't know if that's what's happening here, but my guess is that Restore-VEORDatabase might contain the Get-ACL command and that is why it's erroring out.
However, this all worked fine on a previous version of Windows, so I'm not sure why it's failing after upgrading to Windows 2022. I should add, in the spirit of full disclosure, that we had other permissions issues after the upgrade, too - I could not even edit files on the upgraded server until some changes were made."
It was determined by support that my script is "custom code", and is therefore unsupported. I did try my best to strip my script down to only the commands immediately necessary to provide the data required by the Restore-VEORDatabase cmdlet, but I could not simplify things enough to the point where my case was considered supportable.
At any rate, this is almost certainly a problem with Windows, as it occurred after an update, along with other issues not directly related to the restore. What I'm hoping to get from you is some direction as to where you think the problem might reside. I have worked with my server team on this, but we have not been able to clear this error even after messing around with our local security policies, file and folder permissions, etc.
Have any other users encountered this? Is Windows 2022 going to break Veeam PowerShell scripting for everyone, or am I just lucky? Thanks for any assistance you can provide. I'll even accept baseless speculation at this point

Duane Numrich, DBA
Saskatchewan Liquor and Gaming Authority