Scenario Sometimes you may need to figure out where a specific type of web part has been used. Today, I’ll show you how you can check all pages in your Site Pages library for a specific web part. I’ve had this code for a while as I was looking for some specific web parts (Content Editor) before. Yesterday, I briefly saw a blog post on dev.office.com announcing the deprecation of the Details
Office 365 Advent Calendar – 20 Get notified about new SharePoint Online Site Collection Administrators
If your organization provides business users with the possibility to manage sites themselves by assigning them site collection administrator rights, you may want to know if they add anyone else as site collection administrator. While you could run a script regularly to retrieve a list of all site collection administrators on all sites and then compare this data with previous information, there is also an alternative that you can use. Details
Office 365 Advent Calendar – 19 Auditing External Sharing in SharePoint Online
When it comes to sharing content with external parties in SharePoint Online, setting up sharing can be done easily. But what if you want to get some details on who shared which content with which external party, for example for compliance or audit reasons? The good news is that this kind of information can be retrieved quite easily from Office 365, and you can even set up alerts to be Details
Office 365 Advent Calendar – 15 Activating Publishing Features on SharePoint Online Sites with PowerShell
Scenario Activating SharePoint’s Publishing features can easily be done on a single site collection or site. But what if you need to activate Publishing on a hierarchy of subsites, or across multiple site collections? Code Once again, we’re using the PnP PowerShell cmdlets. First some basics. The ‘main’ feature to activate is the PublishingSite feature on the Site Collection level. After you connected to a site collection (Connect-PnPOnline), you can activate it as Details
Office 365 Advent Calendar – 14 Exporting SharePoint Online List/Library Details
Well, this is a bit embarrassing. Yesterday, for the first time, I didn’t verify if my scheduled blog post got published properly. And yesterday, also for the first time, it didn’t get published. I made a small scheduling mistake (it’s not 2017 yet…), so the 14th December post comes a day late: Scenario From time to time you may need an overview of all lists and libraries in your site Details
Office 365 Advent Calendar – 12 Get External Sharing Details for SharePoint Online Sites
Scenario SharePoint Online allows you to share your content with external parties – that is, if sharing is allowed on the tenant level as well as on the site collection level. But if you allow external sharing on the tenant level, how can you easily see for which site collection you have which kind of external sharing level enabled? Code Today’s script doesn’t make use of the PnP PowerShell cmdlets, Details
Office 365 Advent Calendar – 11 Adding sample items with random data to a SharePoint Online List
Scenario Sometimes you want to create some random sample data to be used in a SharePoint Online list. For example, in yesterday’s post I was using a list with some data which I entered manually, but I thought afterwards that I could’ve scripted it to create many more items in my demo list. Today, I show you how you can easily fill a list in SharePoint Online with as many Details
Office 365 Advent Calendar – 10 SmartFilters and Grouping in SharePoint Online Modern Lists
Microsoft has just started rolling out a new feature called Smart Filters to SharePoint Online tenants with First Release enabled, all tenants will see it in January. Smart Filters are available in Modern Lists, and allow you to filter from a sidebar pane to easily and quickly find items you’re looking for. What’s the difference to the existing filtering functionality on columns? Smart Filters are not just shown for a Details
Office 365 Advent Calendar – 08 Get Versioning Details for all Lists in a SharePoint Online Site
Scenario By default, libraries in SharePoint Online keep the last 500 major versions of a item, but lists have no versioning turned on. And while you can easily finetune the settings for all lists and libraries in a site, it may be good to know how versioning is set on each library before you look at changing those settings. Today’s post provides you with a script that retrieves all versioning related Details
Office 365 Advent Calendar – 07 External Sharing for SharePoint Online FAQ
SharePoint Online provides you with the option to share content (sites, lists/libraries, documents) with externals – partners, vendors, customers, basically anyone outside your organization. Here are some Frequently Asked Question I’ve seen regularly: How do I get started with learning more about External Sharing? To get started, review the following 2 Microsoft support articles: Manage external sharing for your SharePoint Online environment Share sites or documents with people outside Details