Hi @Venkata Harshavardhan Karri ,
Welcome to our forum!
Please refer to the following steps and try to change the registry:
1.Select Start, select Run, type regedit in the Open box, and then select OK.
2.Locate and then select the registry subkey:
3.Right click>New, create the below registry:
Value Name: EnableUnsafeClientMailRules
Value Type: REG_DWORD
(Note: Serious problems can occur if you modify the registry incorrectly. Before making changes, back up the registry to restore it in case something goes wrong.)
Then “Run a script" will be displayed under the Select actions when you create rules.
Hope the above help!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.