Hi @Mikhail Firsov ,
but EXECUTE AS fails for the Windows group login - why?
This is because the name in EXECUTE AS statement must be a singleton account, and cannot be a group, role, certificate, key, or built-in account.
Please refer to Arguments for more details.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.