1

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".)

  • What seems to be the problem? Can you elaborate ? – Gautam Sheth Feb 28 at 18:37
2

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?

  • Problem underneath is hard to unfold and it should be discussed in another question. Thank You for the explanation. – Kristaps Vilerts Mar 1 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.