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

Unable to set UserJourneyRecorderEndpoint for use with journey recorder #44

Open
umar-qureshi2 opened this issue Feb 10, 2019 · 4 comments

Comments

@umar-qureshi2
Copy link

I am following the document from Setup User Journey Recorder - B2C which mentions to change UserJourneyRecorderEndpoint attribute as https://<mycustomweb>.azurewebsites.net/stream?id=1a6bee1c-2d3f-4a95-a6a4-440a2c61d336

I have already set DeploymentMode="Development" but on uploading the policy file I get the following error.

Unable to upload policy. Reason : Validation failed: 1 validation error(s) found in policy "B2C_1A_SIGNUP_SIGNIN" of tenant ".onmicrosoft.com".Attribute UserJourneyRecorderEndpoint in the TrustFrameworkPolicy root node in policy 'B2C_1A_signup_signin' of tenant ' .onmicrosoft.com' can only have the value set to 'urn:journeyrecorder:applicationinsights'.

The web app is already deployed. I have also tested with my custom policies and out of the box starter pack policies but get the same error every time.

@chrispadgettlivecom
Copy link
Collaborator

Hi @umar-qureshi2

The use of a HTTP endpoint for UserJourneyRecorderEndpoint has been deprecated.

You must use Application Insights for the user journey recording.

You can read more about this in the Azure Active Directory B2C: Collecting Logs article.

@umar-qureshi2
Copy link
Author

umar-qureshi2 commented Feb 13, 2019

Hi @chrispadgettlivecom

Thank you for guidance. I have been using Application Insights but the trace messages get truncated at 32K character limit as mentioned in data model here. I have two questions about it.

  1. Do you know of any workaround to avoid this limit of 32k characters?
    (This typically comes up when I set Development as true and use AD as IDP with custom claims).
  2. How can I collect information about requests/responses to identity providers and how long they are taking?

@mikemagnusw
Copy link

The use of a HTTP endpoint for UserJourneyRecorderEndpoint has been deprecated.

How silly. Perhaps un-deprecate it? It's surely not a technological hurdle to fire the same payload at an arbitrary HTTP endpoint. Or send AI telemetry in a more granular, sensible fashion?
Without an answer to the (enormous) event body being truncated, this is posing a significant issue and resource drain when trying to adjust and debug custom policies.

@sanjaybhagia
Copy link

This is really painful during development. First that truncation issue and secondly even in development mode App Insights take ages (at times) to show the data. It would be really nice to allow the possibility to setup your own telemetry service (any https endpoint from where one can setup serilog/logstash etc) to speedup the development process. Current solution is a real productivity killer and frustrating.

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

4 participants