Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure AD B2C AzureApplicationInsightsProvider not compatitible with Log Analytics Funnels #12

Open
jannef opened this issue Aug 15, 2023 · 0 comments

Comments

@jannef
Copy link

jannef commented Aug 15, 2023

Issue:

  1. Log analytics funnels assume "user_Id" property is present on root level of the telemetry event to correlate users in the funnel.
  2. AzureApplicationInsightsProvider does not allow arbitrary fields on the root level:
<InputClaims>
  ...
  // Works - Produces correlationId in custom dimensions
  <InputClaim ClaimTypeReferenceId="CorrelationId" PartnerClaimType="{property:CorrelationId}" DefaultValue="{Context:CorrelationId}" />
  
  // Does not work - produces nothing
  <InputClaim ClaimTypeReferenceId="CorrelationId" PartnerClaimType="user_Id" DefaultValue="{Context:CorrelationId}" />
  ...
</InputClaims>
  1. Funnels cannot track events in Azure AD B2C without rewriting the kql query manually

Expected behaviour:

A) Above just works

or

B) A way to send user_id is documented in Microsoft learn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant