Description:
When I open a ticket with the Degreed Support Team for an issue with the Microsoft (MS) Teams App, I might be asked for a HAR file to troubleshoot the issue. How do I get a HAR file for Microsoft Teams issues?
Answer:
Below are instructions for either the browser version (these instructions are for Google Chrome, but they should be very similar for other browsers) or the desktop app.
If your organization does not allow access to the Developer Tools or enable Developer mode, you may need to seek permission or assistance from your IT department.
- Instructions for generating a HAR file using MS Teams Web App (in the browser):
1. Open Google Chrome and navigate to https://teams.microsoft.com
2. Log in to your MS Teams account using your credentials
3. Once you're on the MS Teams interface in the web browser, right-click on any empty space within the page
4. In the context menu that appears, select the Inspect. This will open the Developer Console, which may appear on the right side or at the bottom of your browser window
5. In the Developer Console, locate and click on the Network tab. Keep the Network tab open and visible
6. Within the MS Teams web app, open the Degreed app
7. Wait for the Degreed app to load completely (you'll see either the home page or an Unauthorized page). In the Network tab of the Developer Console, you should now see many entries representing network requests
8. In the Network tab, look for an icon that resembles a download symbol (a line with an arrow pointing down) or that says Export HAR. Click on this to save the HAR file. Choose a directory to save the file when prompted
Important: Make sure to open the Network tab (steps 4-6) before opening the Degreed app. Otherwise, the requests won't be captured in the HAR file.
- To download a HAR file through the MS Teams desktop app, you will need to enable the Developer Mode in your application. If you already have the Developer Mode, skip to step 10. Please see the instructions for enabling Developer Mode and downloading a HAR file in MS Teams Desktop App (Windows):
1. Open the File Explorer on your Windows computer
2. In the address bar of File Explorer, paste this path:
%localappdata%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams
3. Press Enter to navigate to this directory
4. Once in the directory, hold down the Shift key and right-click in an empty space
5. From the context menu, select Open PowerShell window here. A PowerShell window will open
6. In the PowerShell window, paste the following command and press Enter:
ni -ItemType file -Value '{"core/devMenuEnabled": true}' -name configuration.json
7. After the command runs successfully, close the PowerShell window
8. Right-click on the MS Teams icon in your system tray (usually at the bottom right of your screen) and select Quit Teams to close the app completely
9. Relaunch the MS Teams desktop app
10. To confirm that developer mode is enabled, right-click the MS Teams system tray icon again. You should now see an Engineering Tools option in the menu
11. Open the MS Teams app and press the F12 key on your keyboard. This should open the debugger panel for the desktop app
12. Open the Degreed App and perform the action causing the issue. In the Network tab of the debugger panel, you should now see many entries representing network requests
13. In the Network tab, look for an icon that resembles a download symbol (a line with an arrow pointing down) or that says Export HAR. Click on this to save the HAR file
- Instructions for generating a HAR file using MS Teams Desktop App (Mac):
1. Open the MS Teams Desktop App
2. Once on the MS Teams interface, right-click any empty space within the app
3. In the context menu that appears, select the Inspect option at the bottom. This will open the Developer Pane
4. In the Developer Pane, click on the Network tab or wifi icon. Keep the Network tab open
5. Within the MS Teams web app, perform the action that causes the issue. In the Network tab of the Developer Pane, you should now see many entries representing network requests
6. Look for an icon that resembles a download symbol (line with an arrow pointing down) or that says Export HAR in the Network tab. Click on this to save the HAR file