I'm using playfab together with Azure Functions. I have scheduled my Azure Function to execute on the rule com.playfab.player_added_title. My goal is to assign default data to the UserData on the moment the account is created. However most of the time there is no CallerEntityProfile on the context (im using: const playerId = (context as any).CallerEntityProfile.Lineage.MasterPlayerAccountId; )
What would be the correct way of achieving this using typescript?