|
| 1 | +--- |
| 2 | +title: Capture a browser trace for troubleshooting | Microsoft Docs |
| 3 | +description: Capture network information from a browser trace to help troubleshoot issues with the Azure portal. |
| 4 | +services: azure-portal |
| 5 | +keywords: |
| 6 | +author: mblythe |
| 7 | +ms.author: mblythe |
| 8 | +ms.date: 01/09/2020 |
| 9 | +ms.topic: troubleshooting |
| 10 | + |
| 11 | +ms.service: azure-portal |
| 12 | +manager: mtillman |
| 13 | +--- |
| 14 | + |
| 15 | +# Capture a browser trace for troubleshooting |
| 16 | + |
| 17 | +If you're troubleshooting an issue with the Azure portal, and you need to contact Microsoft support, we recommend you first capture a browser trace and some additional information. The browser trace can provide important details about the network traffic at the time the issue occurs. |
| 18 | + |
| 19 | +Follow the steps in this article to capture a trace and export a _HAR file_ with the trace information. We show the steps in the Microsoft Edge, Google Chrome, and Apple Safari browsers. |
| 20 | + |
| 21 | +1. Sign in to the [Azure portal](https://portal.azure.com). It's important to sign in _before_ you start the trace so that the trace doesn't contain sensitive information related to your sign-in. |
| 22 | + |
| 23 | +1. In the portal, navigate to the step just prior to where the issue occurs. |
| 24 | + |
| 25 | +1. Press F12 to open the developer tools pane, or open it from a tools menu (More tools > Developer tools). |
| 26 | + |
| 27 | +1. Select the **Network** tab. |
| 28 | + |
| 29 | +1. To ensure that, select the appropriate option for your browser: |
| 30 | + |
| 31 | + - For Edge, clear the option **Clear entries on navigate**. |
| 32 | + |
| 33 | + - For Chrome, select **Preserve log**. |
| 34 | + |
| 35 | + - For Safari, select ****. |
| 36 | + |
| 37 | +1. Stop the browser trace session and clear the session. |
| 38 | + |
| 39 | + - For Edge, select **Stop profiling session** and **Clear session**. |
| 40 | + |
| 41 | + - For Chrome, select **Stop recording network log** and **Clear**. |
| 42 | + |
| 43 | + - For Safari, select ****. |
| 44 | + |
| 45 | +1. Restart the session, then reproduce the issue in the Azure portal. You will see session output similar to the following image. |
| 46 | + |
| 47 | +1. Stop the session and save the trace as a HAR file. |
| 48 | + |
| 49 | + - For Edge, select **Export as HAR**. |
| 50 | + |
| 51 | + - For Chrome, select **Export HAR**. |
| 52 | + |
| 53 | + - For Safari, select ****. |
| 54 | + |
| 55 | +1. Compress the HAR file and send it to support for analysis and troubleshooting. |
| 56 | + |
| 57 | +1. Console |
| 58 | + |
| 59 | +1. I’ve also seen some teammates ask customer to collect a problem recorder trace which screen grabs their monitor when they click through some repro, so this might be also good to reference or include into workflow, whatever you guys recommend: https://support.microsoft.com/en-us/help/22878/windows-10-record-steps |
0 commit comments