Remove News Source Tag Color Block to news web part

A bit of context

SharePoint News web part is a fantastic component provided by Microsoft that allows to displays news using multiple layouts. News may be from the current site, some selected sites or recommended sites.

These are great options because sometime, you may have your intranet that displays your corporate news and have displayed news from another site, let's say HR site that want to give information about coming Christmas party.

In the case that you have news from several sites, a news source tag is displayed over each news. Thanks to this tag, users know from where news come from. 




If the news is from an organizational news site, SharePoint will highlight the source tag by styling it with color block

Organizational news sites are sites that have been defined in your organization as authorities. In short, news from those sites can be considered as "Official".

This way of showing source tag might be not desired. You will have to revoke the source site to the list of organizational news site to revert to the basic styling.


Solution

You can remove a site from the organizational news site list using the PowerShell command below:

Remove-SPOOrgNewsSite -OrgNewsSiteUrl https://yourTenant.sharepoint.com/sites/HR

This is even working on site that have been defined as SharePoint Home site.    




Comments

  1. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... Cyber Attack

    ReplyDelete

Post a Comment

Popular posts from this blog

How to give app access on a specific SharePoint site using Azure AD API permission

Ensure SharePoint User with Power Automate

Guest user can't access Client Side Assets resources in SharePoint App Catalog site