Skip to content

Commit f11b79a

Browse files
authored
Merge pull request #109004 from amitabhphogat/patch-1
Updated the order for in policy #41062
2 parents 5e950cd + 04fbab8 commit f11b79a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/active-directory-b2c/troubleshoot-with-application-insights.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ To create an instance of Application Insights in your subscription, follow these
7272
UserJourneyRecorderEndpoint="urn:journeyrecorder:applicationinsights"
7373
```
7474

75-
1. If it doesn't already exist, add a `<UserJourneyBehaviors>` child node to the `<RelyingParty>` node. It must be located after `<DefaultUserJourney ReferenceId="UserJourney Id" from your extensions policy, or equivalent (for example:SignUpOrSigninWithAAD" />`.
75+
1. If it doesn't already exist, add a `<UserJourneyBehaviors>` child node to the `<RelyingParty>` node. It must be located after `<Endpoints><Endpoint Id="Token" UserJourneyReferenceId="RedeemRefreshToken" /></Endpoints>`.
7676
1. Add the following node as a child of the `<UserJourneyBehaviors>` element. Make sure to replace `{Your Application Insights Key}` with the Application Insights **Instrumentation Key** that you recorded earlier.
7777

7878
```xml
@@ -96,6 +96,10 @@ To create an instance of Application Insights in your subscription, follow these
9696
...
9797
<RelyingParty>
9898
<DefaultUserJourney ReferenceId="UserJourney ID from your extensions policy, or equivalent (for example: SignUpOrSigninWithAzureAD)" />
99+
<Endpoints>
100+
<!--points to refresh token journey when app makes refresh token request-->
101+
<Endpoint Id="Token" UserJourneyReferenceId="RedeemRefreshToken" />
102+
</Endpoints>
99103
<UserJourneyBehaviors>
100104
<JourneyInsights TelemetryEngine="ApplicationInsights" InstrumentationKey="{Your Application Insights Key}" DeveloperMode="true" ClientEnabled="false" ServerEnabled="true" TelemetryVersion="1.0.0" />
101105
</UserJourneyBehaviors>

0 commit comments

Comments
 (0)