SharePoint Online

Deleting a SharePoint Online Site Collection with PowerShell

A basic one, but today I was asked a question how can I remove a SharePoint Online site collection programmatically – the answer being the ever so powerful PowerShell.

Connect to your SharePoint Online tenant with the SharePoint Online Management Shell (follow the link below to connect to SPO)

http://www.paradyne.com.au/administering-sharepoint-online-with-powershell/

So now you’re connected to your tenant and you now want to remove the Site Collection

So first of all let’s run a Get-SPOSite | select URL this will list all SharePoint Online Site Collections

Now we have all the site collections choose your site collection, in this case I want to remove the site collection https://pddemo3.sharepoint.com/sites/dev
site collection

Remove-SPOSite https://yoursitecollection.sharepoint.com/sites/yoursite

Once that’s completed the Site Collection will be removed and be put in the Site Collection Recycle Bin for 90 days

Advertisements
SharePoint, SharePoint 2013, SharePoint Online

SharePoint 2013(Online) configuring Explorer View

How to configure SharePoint Explorer

A common question and a painful function to have consistently work for the SharePoint user is the ‘open with explorer’ functionality for a document library, a feature that isn’t new to SharePoint but a feature that has always proved troublesome, this blog article will take you through a few common configuration settings to have your users working with the explorer view again.

It’s key to note Open with Explorer functionality is fully supported only in Internet Explorer

So you’ve closed down Google Chrome & Firefox but you’re still having issues with open with explorer and IE? Follow these instructions J

For all versions of IE9/IE10/IE11 these following configuration must be completed to enable this function

  1. When first logging into Office 365 (Login.microsoftonline.com) please check the ‘keep me signed in’ tick box

  2. Make sure the ‘WebClient’ windows service is started

    Start > Run > Services.msc

    This will open the Services MMC, Locate the WebClient and make sure if it’s running if it is not please right click the Service and Start

  3. Add the entry for your SharePoint site to the trusted site zone in Internet Explorer

    In Internet Explorer, Select the Tools menu and click Internet Options.



    Open the Security tab > Trusted sites zone > Sites

    And add the following entries to the list

    https://*.outlook.com

    https://*.sharepoint.com

    https://*.microsoftonline.com

    https://*.lync.com

So you’re running IE10 and still having issues?

A hotfix is required to use the open with explorer functionality for IE10 on Windows 7/Windows 8

Download the hotfix from the bellow link and install to your computer.

http://support.microsoft.com/kb/2846960

Office 365, SharePoint, SharePoint 2013, Uncategorized

A pat on my own back

Today I successfully passed the PRO: Microsoft SharePoint, Administrator (70-668) exam which gives me the fancy title of MCITP SharePoint 2010.. which I must admit I am more proud of then I let show…. although it’s taken me a few years to get the time to study and sit the exam it has been all worth it not only for the nice fancy new title but since I passed the SharePoint 2013  Core Solutions exams, I am now on an upgrade path to my MCSE leaving me two exams to go 🙂

Advice to all that are aiming to achieve the SharePoint Administrator PRO Certification before it’s discontinued… it’s worth it don’t let anyone stop you !

Office 365, SharePoint, SharePoint 2013, SharePoint Online

SharePoint Online – Refine Search by Content Type

A question often raised that causes much confusion is how we add a Search Refiner to search documents or files by a certain Content Types in SharePoint Online

From the get go adding a refiner isn’t as easy as it possibly could be, OOTB your site collections default search page (yourtenant.sharepoint.com/_layouts/15/osssearchresults.aspx) is locked down in what I imagine is in place to protect those from themselves, so while we can’t edit the default osssearchresults we can create a new search results page, add the refiners and set it as the search default. Cool – so how do I do that?

There are a few options to how we can create a page to update the refiners, in this example I will be creating a Search Center and utilizing its results page.

Creating the new Search Center

  1. Click Settings > Site contents

  1. You will be taken to the A list of all Apps, scroll down to the bottom of the page and click new subsite

  2. The New SharePoint Site page will load, you will be required to fill out the new sites parameters, the key here is to make sure you choose the Enterprise site template ‘Enterprise Search Center’

    Click Create

    Please note: The Enterprise Features will need to be enabled on the Site Collection in order to use this template


  3. Once the new Search Center has been created you will be presented with a search bar, do a test search

 

Modifying the Search page

Now we are on our newly created search results page we can start editing the page

  1. Settings > Edit Page

  2. On the left hand side navigation you will see the Refinement WebPart – Select the drop down menu and Click Edit Web Part

    The Page will load with a Refinement Web Part Panel on the right hand side of the page

  3. Click Choose Refiners

  1. On the available refiners choose ContentType and click Add.

    once added Click OK

    You will now see Content Type as an available Refiner, you can now publish your page

Make your new Search Results Page the default.

  1. Navigate back to the root of your site collection and click Settings > Site Settings

  2. Under the Site Collection Administration category, choose Search Settings

    Enter in both the Search Center URL & Which search results page should queries be sent to like the following

    Click OK and your done your content types are now available to your users as a refiner