I got the tenant id by adding this line to metadata_public in the data mapping:
[if "tid" in claims.raw_claims then "microsoft_tid" else null]: claims.raw_claims.tid,
damp-car-18231
06/20/2023, 5:31 PM
It seems to only run when a user is registered. @bland-eye-99092 Is there any way to map data on each login? We have existing users we want to get the tid on