You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/troubleshoot-custom-policies.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,11 +88,25 @@ We recommend installing the [Azure AD B2C extension](https://marketplace.visuals
88
88
89
89
A single sign-in flow can issue more than one Azure Application Insights trace. In the following screenshot, the *B2C_1A_signup_signin* policy has three logs. Each log represents part of the sign-in flow.
90
90
91
+
There is a short delay, typically less than five minutes, before you can see new logs in Application Insights.
92
+
93
+
The following screenshot shows the Azure AD B2C extension for VS Code with Azure Application Insights trace explorer.
94
+
91
95

92
96
97
+
### Filter the trace log
98
+
99
+
With the focus on the Azure AD B2C trace explorer, start to type the first digit of the correlation ID, or a time you want to find. You will see a filter box in the top-right of the Azure AD B2C trace explorer showing what you have typed so far, and matching trace logs will be highlighted.
100
+
101
+

102
+
103
+
Hovering over the filter box and selecting **Enable Filter on Type** will show only matching trace logs. Use the **'X' Clear button** to clear the filter.
104
+
105
+

106
+
93
107
### Application Insights trace log details
94
108
95
-
When you select an Azure Application Insights trace, the extension opens the **Application Insights details** page with the following information:
109
+
When you select an Azure Application Insights trace, the extension opens the **Application Insights details** window with the following information:
96
110
97
111
- **Application Insights** - Generic information about the trace log, including the policy name, correlation ID, Azure Application Insights trace ID, and trace timestamp.
98
112
- **Technical profiles** - List of technical profiles that appear in the trace log.
@@ -102,6 +116,10 @@ When you select an Azure Application Insights trace, the extension opens the **A
102
116
- **Exceptions** - List of exceptions or fatal errors that appear in the trace log.
103
117
- **Application Insights JSON** - The raw data the returns from the Application Insights.
104
118
119
+
The following screenshot shows an example of the Application Insights trace log details window.
120
+
121
+

122
+
105
123
## Troubleshoot JWT tokens
106
124
107
125
For JWT token validation and debugging purposes, your can decode JWTs using a site like [https://jwt.ms](https://jwt.ms). Create a test application that can redirect to `https://jwt.ms` for token inspection. If you haven't already done so, [register a web application](tutorial-register-applications.md), and [enable ID token implicit grant](tutorial-register-applications.md#enable-id-token-implicit-grant).
0 commit comments