I am currently experiencing an issue with individual email results syncing from from marketing cloud to sales cloud from a child business unit (IER's from the parent business unit are syncing just fine). I have a case in with support (but that is slow going so I'd thought I'd check in here too), and I was referred to the following article to clear invalid tokens: https://help.salesforce.com/articleView?id=mc_co_clear_invalid_tokens.htm&type=5
The syntax provided (pasted below) does not seem to be correct, as I could not get it to execute after a number of iterations. I eventually found a knowledge article (https://help.salesforce.com/articleView?id=000214335&type=1) that had a slightly different version.
Code that would not run (I tried many different versions of this):
et4ae5.SupportUtilities.deleteUserTokens('APIUSER');
et4ae5.SupportUtilities.deleteUserTokens('APIUSER|<Default MID >');
et4ae5.SupportUtilities.deleteUserTokens('APIUSER|<MID 2>');
Code that did run:
et4ae5.SupportUtilities.deleteUserTokens('UserId', TRUE);
The second version definitely seemed to work to clear the tokens at the parent level, however, I am still experiencing issues with the child business units. I am wondering if I need to also clear the tokens in the child business units (as indicated in the first article), but I cannot figure out how to do it. Does anyone know the proper syntax to clear the tokens for the other business units? Or have any other thoughts/recommendations for this particular issue, I'd welcome them.