Fix SCCM Community Hub Issues – 4 Critical Errors Solved
In this post, we will look at steps to fix SCCM community hub issues. Community hub is one of the best features in Configuration Manager and if you haven’t explored it, I would recommend doing so.
Starting with Configuration Manager version 2002, the community hub feature was introduced by Microsoft. Since then, community hub feature has been evolving and with every new ConfigMgr release, we see new community hub features.
Take a look at recent additions to Community hub.
- Support for configuration baselines including child configuration items, added in March 2021
- Support for Power BI reports, added in February 2021
- Support for installing console extensions, added in January 2021
The Configuration Manager community hub is a place where Configuration Manager administrators can share their useful content. This includes scripts, reports, applications, tasks sequences and Configuration Items. I have published a detailed post on new Configuration Manager Community Hub.
Fix SCCM Community Hub Issues
There are three issues related to SCCM community hub and I will publish the solutions for each of the issue.
- SCCM Community Hub Missing
- Unable to load SCCM Community Hub
- ConfigMgr console crashes when you launch Community Hub
Apart from the above issues I haven’t come across any other major community hub issues. If I encounter any new issue, I will update this post.
To use the community hub on a device, you must ensure the following prerequisites are installed.
- The device must have .NET Framework version 4.6 or higher installed.
- Windows 10 build 17110 or higher.
- The logged-in user account can’t be the built-in administrator account.
- To import a script, you require create permission for SMS_Scripts class.
- To import a report, the account must be a Full Administrator security role.
Fix SCCM Community Hub Missing
So, you launch the Configuration Manager console and click the Community tab. You notice that community hub doesn’t display, and it’s only the documentation option that you see.
The reason why the SCCM community hub is missing because you haven’t enabled the Community Hub feature in SCCM. When I configured my Configuration Manager lab, I forgot to enable the community hub feature. When I launched the console, I realized my mistake.
This often happens with many because we think the community hub feature is enabled by default. The answer is NO, the community hub feature must be enabled manually before you start using it.
To enable the Configuration Manager community hub feature, launch the SCCM console. Go to Administration > Overview > Updates and Servicing > Features. Right click Community hub feature and click Turn on.
You will see a warning box. This feature will now be replicated and turned on all site servers in your configuration manager hierarchy. After the process is completed the configuration manager console will update itself the next time console starts. When asked Do you want to turn on this feature? Click Yes.
After you turn on the community hub feature, your console will load the community hub. That’s how you fix SCCM community hub issue.
Fix Unable to load SCCM Community Hub
Another common issue that I see that’s related to Community Hub is the community hub loading issue. When you launch Configuration Manager console, clicking Community Hub shows an error. Unable to load the Configuration Manager Community hub.
This error is commonly seen on Configuration Manager 2010 and particular on Windows Servers. The SCCM community hub loading issue occurs because of missing console extensions. I have published a separate post on how to fix the community hub loading issue.
To install Custom Console Extensions in Configuration Manager, click the Bell icon in the top-right corner of the console. On the Configuration Manager Notifications tab, click Install Custom Console Extensions. The Configuration Manager console opens and finally, you can load the Community Hub.
Here is a video guide that shows how to fix unable to load SCCM Community Hub.
SCCM Console Terminates upon Launching Community Hub
The Configuration Manager console terminates unexpectedly if you select the Community Hub node before the Documentation node finishes loading.
This issue was observed in Configuration Manager current branch version 2203. Installing SCCM 2203 Hotfix KB13953025 resolves the issue where SCCM console terminates unexpectedly if you select the Community Hub node before the Documentation node finishes loading.
Community Hub Missing Console Extension Error
The Missing Console Extension appears in the community hub when Microsoft Edge WebView2 Runtime extension is not installed. Installing the WebView2 console extension resolves the Missing console extension error.
Microsoft recommends installing the WebView2 console extension on all SCCM admin consoles. The WebView2 control uses Microsoft Edge (Chromium) as the rendering engine to display the web content in native apps.
The steps to install WebView2 extension in SCCM console are as follows:
- Launch the SCCM console.
- Go to Administration\Overview\Updates and Servicing\Console Extensions.
- Right click WebView2 extension and select Install.
The WebView2 extension has been installed successfully. Click Close to restart the Configuration Manager console. Now you can launch the Community Hub without any issues.
Hi,
my Configuration Manager console it’s not showing Community Hub feature to turn on.
What can be cause?
The community hub feature has been deprecated.
What about when the community hub crashes the console every time you attempt to open it.
Hi, I have never experienced that issue. If you are facing this issue, can you send me the log files and I will investigate why that’s happening.
What exact logs are you needing and where do you want me to send them?
Have a look at “C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\AdminUILog\SmsAdminUI.log” for that
I found two reasons for the console crashing with an unhandled exception:
1) your device is missing the WebView2 Console Extension
2) there seem to be more permissions required than just the Security Role permissions to Read/Download from Community Hub. In that case you’ll see this exception in SmsAdminUI.log:
[1, PID:12348][08/29/2022 16:44:05] :System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Microsoft.ConfigurationManagement.AdminConsole.Community.CommunityHubScriptManager.GetTopLevelSiteCode()
at Microsoft.ConfigurationManagement.AdminConsole.Community.CommunityHubScriptManager.GetInitializationProperties()
at Microsoft.ConfigurationManagement.AdminConsole.Community.StorePage.GetHeaders()
at Microsoft.ConfigurationManagement.AdminConsole.Community.StorePage.Initialize()
I’ve already opened support cases for that with Microsoft but so far no response or information on if this will be fixed.
You can verify that it is an undocumented missing permission by giving your user the Read-Only Analyst role as this additional role will not crash the Console (unless – see point #1 – your system doesn’t have the WebView2 Console Extension installed)