I am trying to implement this same thing from the last 100 hours but I'm unable to do it. My code uses the same beginscope syntax with a dictionary consisting of a key value pair; but I cant see any custom dimension in application insights. Can someone please help