{"id":4493,"date":"2022-12-14T09:03:17","date_gmt":"2022-12-14T17:03:17","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=4493"},"modified":"2022-12-14T09:03:19","modified_gmt":"2022-12-14T17:03:19","slug":"how-to-enable-microsoft-365-apps-for-enterprise-logging","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=4493","title":{"rendered":"How to Enable Microsoft 365 Apps for Enterprise Logging"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p><em>This article was written by&nbsp;<a href=\"https:\/\/social.technet.microsoft.com\/profile\/Splic-MSFT\">Eric Splichal<\/a>, Support Escalation Engineer.<\/em><\/p>\n\n\n\n<p>When you troubleshoot Microsoft Office issues, traditional log settings sometimes don&#8217;t collect enough information. These might include sign-in issues, installation and patching issues, or even app issues.<\/p>\n\n\n\n<p>To collect more verbose logging details, registry keys must be added.<\/p>\n\n\n\n<p><strong>For sign-in or activation issues, run the following commands to add or delete the registry key:<\/strong><\/p>\n\n\n\n<p>To enable logging:<\/p>\n\n\n\n<p>ConsoleCopy<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reg add HKCU\\Software\\Microsoft\\Office\\16.0\\Common\\Logging \/v EnableLogging \/t REG_DWORD \/d 1\n<\/code><\/pre>\n\n\n\n<p>To disable logging:<\/p>\n\n\n\n<p>ConsoleCopy<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reg delete HKCU\\Software\\Microsoft\\Office\\16.0\\Common\\Logging \/v EnableLogging \n<\/code><\/pre>\n\n\n\n<p>Reproduce the issue and collect the logs for review. The logs are stored under %temp% for sign-in or activation issues, in the format of&nbsp;<em>MachineName-Date-time.log<\/em>.<\/p>\n\n\n\n<p><strong>For installation or patching issues, run the following commands to add or delete the registry keys:<\/strong><\/p>\n\n\n\n<p>To enable logging:<\/p>\n\n\n\n<p>ConsoleCopy<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reg add HKLM\\SOFTWARE\\Microsoft\\ClickToRun\\OverRide \/v LogLevel \/t REG_DWORD \/d 3\nreg add HKLM\\SOFTWARE\\Microsoft\\ClickToRun\\OverRide \/v PipelineLogging \/t REG_DWORD \/d 1\n<\/code><\/pre>\n\n\n\n<p>To disable logging:<\/p>\n\n\n\n<p>ConsoleCopy<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reg delete HKLM\\SOFTWARE\\Microsoft\\ClickToRun\\OverRide \/v PipelineLogging\nreg delete HKLM\\SOFTWARE\\Microsoft\\ClickToRun\\OverRide \/v LogLevel \n<\/code><\/pre>\n\n\n\n<p>Restart the Microsoft Office Click-to-Run Service inside Services.msc for the logging to take effect.<\/p>\n\n\n\n<p>Reproduce the issue and collect the logs for review. The logs are stored under %windir%\\temp and %temp% for installation or patching issues, in the format of&nbsp;<em>MachineName-Date-time.log<\/em>.<\/p>\n\n\n\n<p><strong>For issues with the Serviceability Manager, run the following commands to add or delete the registry key:<\/strong><\/p>\n\n\n\n<p>To enable logging:<\/p>\n\n\n\n<p>ConsoleCopy<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reg add HKLM\\SOFTWARE\\Microsoft\\Office\\C2RSvcMgr \/v EnableLocalLogging \/t REG_DWORD \/d 1\n<\/code><\/pre>\n\n\n\n<p>To disable logging:<\/p>\n\n\n\n<p>ConsoleCopy<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reg delete HKLM\\SOFTWARE\\Microsoft\\Office\\C2RSvcMgr \/v EnableLocalLogging\n<\/code><\/pre>\n\n\n\n<p>Serviceability Manager is part of&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/deployoffice\/admincenter\/inventory\">Office Inventory<\/a>, which is used as part of&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/deployoffice\/admincenter\/servicing-profile\">servicing profile<\/a>. This type of logging can be used if you experience an issue with Inventory. For example, devices aren&#8217;t displayed on the inventory page in the Microsoft 365 Apps admin center.<\/p>\n\n\n\n<p>The Inventory feature is available in version 2008 (16.0.13127.21064) or later. The logs are stored under %windir%\\temp and %temp% for Serviceability Manager issues, in the format of MachineName-Date-time.log.<\/p>\n\n\n\n<p>&nbsp;Note<\/p>\n\n\n\n<p>Note the time stamp when you run the repro so that you can collect the correct logs.<\/p>\n\n\n\n<p>After you collect the logs,\u00a0<strong>disable Office verbose logging<\/strong>. Otherwise, the logs will become very large.<\/p>\n\n\n\n<p>Ref: <a href=\"https:\/\/learn.microsoft.com\/en-us\/office\/troubleshoot\/diagnostic-logs\/how-to-enable-office-365-proplus-uls-logging\">How to enable Microsoft 365 Apps for enterprise logging &#8211; Office | Microsoft Learn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article was written by&nbsp;Eric Splichal, Support Escalation Engineer. When you troubleshoot Microsoft Office issues, traditional log settings sometimes don&#8217;t collect enough information. These might include sign-in issues, installation and patching issues, or even app issues. To collect more verbose logging details, registry keys must be added. For sign-in or activation issues, run the following <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=4493\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[238,239,10,18],"tags":[1421,1420],"class_list":["post-4493","post","type-post","status-publish","format-standard","hentry","category-cloud","category-azure","category-microsoft","category-microsoft-office","tag-microsoft-365-apps-for-enterprise-log","tag-microsoft-365-apps-for-enterprise-logging"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4493"}],"version-history":[{"count":1,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4493\/revisions"}],"predecessor-version":[{"id":4495,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4493\/revisions\/4495"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}