The term Get-SPPOorgNewsSite is not recognized as the name of a cmdmet

Brass Contributor

Hi, I am trying to SET a site as Organizational Newssite but the cmdlet is not recognized. What am I doning wrong? 

 

Connect-sposervice -url https://tentant-admin.sharepoint.com 

Get-SPOOrgNewsSite returns an error. 

 

Set-SPOOrgNewsSite  -OrgNewsSiteUrl https://companyname.sharepoint.com return an error. 

2 Replies
I have just executed both cmdlets with no errors...are you using the last version of the SPO Management Shell? Other thing to check is the site you are putting in the Set-SPOOrgNewsSite is a modern site

@Juan Carlos González Martín I removed the SPO Management Shell and installed the latest vesion. Worked like charm! Thanks.