Hello @Rising Flight
-AccessRights should not support the value "SendOnBehalfTo".
But you could try setting "-GrantSendOnBehalfTo" to NULL.
Set-Mailbox -Identity "smailbox@mydomain.com" -GrantSendOnBehalfTo $null
Kind Regards
If the answer is helpful, please click "Accept Answer" and kindly upvote it.