Hello,
I just tested setting the policy trigger to “login” and can confirm the script now runs in the context of the signed-in user—works perfectly on my end.
Being able to reference Custom Attributes as argument would be an extremely handy.
Thanks again to you for building and actively improving such a solid tool!