Hi,
I believe the correct property is customProperties. As far as I know actionProperties is incorrectly published to the schema of the resource provider and it will not work. How you can pass dynamic values and the syntax for dynamic values is described in Configure alert rule details step 5. Note that you can only add values that are part of the common alert schema. For example, log alerts v2 do not include the search results. They include links that you can use to get the search results. If you want some column value from the query to be included in the search results you need to add that column as dimension. The column also needs to be of type string. Also by adding the column as dimension that means that the alert rule will be fired for each different value for that dimension separately when the threshold is met.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.