I want to track a guid value in LogAnalytics, using tracked properties, but I can't get it to be saved as a string (that is with suffix "_s" instead of "_g" for guid). I've tried to convert it to string and to replace all the hyphens to empty string, but no luck. It works fine if I concat the guid with another character, but I want to save the guid as it is of course.
Example, this does not work:
trackedProperties": {
"MessageId": "@{string(Outputs('MyAction').MessageId)}"
}
Anyone got an idea of how to solve this?