Auditory warning

Contributor III

Hello All,
We are having some problems with our Big Sur devices and the auditory warning we used to send out to them.
We created a policy and added into the Files and Processes tab the following,"osascript -e "set Volume 100"; say -r 200 " words of wisdom about returning the device to us..."
This no longer works in Big Sur, and we have several devices we need to recover. This policy "runs" but flags an error,Result of command:
"Open speech channel failed: -915"

Any direction to resolve this would be awesome and very much appreciated.