Hi there,
I'm inviting a player to a Group in an Azure Function script. I want to display a notification on the invited player's end, that who invited her. ListMembershipOpportunities gives back a nice object with InvitedByEntity, that would be perfect, but it's just set to the title entity, not a player.
I'm following the samples to set the authentication context in the functions script, it is a TitleAuthenticationContext.
I tried to get an entity token for the player GetEntityToken in the Invite script to set the AuthenticationContext properly, but it did not work, resulted in 401 Unauthorized Errors. I found in the documentation that "the entity must be a relation of the caller", I don't know what it means exactly, so I can't get an entity token to impersonate a player in azure function script?
Any recommendations, how I should call InviteToGroup from a function to result in an invitation with proper InvitedByEntity?
Thanks,
Tamas