Skip to Content

MC402120: Enable media logs remotely with PowerShell cmdlets

Updated September 6, 2022: We have updated the content below with additional details. Thank you for your patience.

Enable Media Logs Remotely policy can be applied to a user or entire tenant and allows IT admin to update user’s settings for desktop client.

Applied via PowerShell cmdlets, the policy overrides client settings and sets Settings > General> Enable logging for meeting diagnostic to “On”. When applied, the setting is displayed as greyed out and can’t be updated via the client.

MC402120: Enable media logs remotely with PowerShell cmdlets

When this will happen

We will begin rolling out in late July and expect to complete by late August.

How this will affect your organization

Unless the user’s client runs on a high-end machine (Media logs), the media logging setting is turned off by default. For cases when user’s client media logs are required, the existing experience requires the user to manually update their settings via Settings > General> Enable logging for meeting diagnostic. This policy allows IT admin to remotely update this setting for their users via PowerShell cmdlets.

When Teams Media Logging policy sets user’s setting “Enable logging for meeting diagnostic” to turned on, the media logs generated are stored locally on user’s machine (Media logs – To Collect Logs section). When policy is removed, the setting rolls back to the state it was in before it was manipulated.

Possible use cases

Media logs contain diagnostic data about audio, video, and screen sharing in Teams meetings. They are required for support cases that are linked to call-related issues. To improve the experience for end users, IT admins may choose to remotely enable the media logs and ensure to include them when submitting the support case. Alternatively, IT admins can choose to set a policy to be turned on regardless of whether the additional information for support case is required at the moment.

PowerShell documentation

Message ID: MC402120
Published: 19 July 2022
Updated: 06 September 2022
Platform: World tenant, Online, Windows Desktop

Alex Lim is a certified IT Technical Support Architect with over 15 years of experience in designing, implementing, and troubleshooting complex IT systems and networks. He has worked for leading IT companies, such as Microsoft, IBM, and Cisco, providing technical support and solutions to clients across various industries and sectors. Alex has a bachelor’s degree in computer science from the National University of Singapore and a master’s degree in information security from the Massachusetts Institute of Technology. He is also the author of several best-selling books on IT technical support, such as The IT Technical Support Handbook and Troubleshooting IT Systems and Networks. Alex lives in Bandar, Johore, Malaysia with his wife and two chilrdren. You can reach him at [email protected] or follow him on Website | Twitter | Facebook