Question

Are there any limitations using SPO managment shell commands or PnP commands to manage SharePoint Online site, based on classic or modern experience?

Problem underneath the question - I have a script that reads information about list items (ID and Title) based on URL and there seems to be a problem with different sites (one is classic experience, other is modern).

(answer for example, "No - You cannot get list items from modern experience site using SPO".)

Was it helpful?

Solution

There should be no difference on classic or modern experience when working with core list and library features with the tools. The biggest issues would be around permissions as Modern Sites have a different security model (AD and SP groups vs Office 365 Groups).

The break between the two tools:

  • The focus of the SPO cmdlets is administration from the Site Collection up. (Creating Site Collections, etc.)
  • The focus of the PNP cmdlets is the Site(web) on down. (Working with lists, libraries and content.)

I have a script that reads information about list items (ID and Title) based on URL and there seems to be a problem with different sites (one is classic experience, other is modern).

What's the problem? The default (internal) names of the columns? What's the list type?

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top