Anonymous Access for SharePoint Public Website Office 365

For those of us who have been playing around with SharePoint Online (Office 365) since Wave 14, the ability to allow Anonymous users to interact with your public site was a great feature.

When Microsoft moved to Wave 15 and then changed up the Small Medium Business (and Enterprise tenants) to use a severely limited public website interface, the ability to grant anonymous access to users to see list data was taken away.  I had written in the past about granting permissions using a custom web part, but it seems like this didn’t work anymore in the P1 tenants (or any non-Enterprise tenants).

What I discovered recently is that the solution still works, but since it uses code within an Sandbox Solution, only Enterprise tenants can execute the solution because a configuration change is needed to increase the Server Resource Quota for your ‘public’ website.  The default is set to zero (0) which allows declarative XML for sandbox solutions, but doesn’t allow any code (either feature receiver or web part code) to execute.


I couldn’t find a way to increase this in a P1 tenant because there is no interface for resource quota, but once this is set to a non-zero number, you can access the solution gallery on your public site by appending /_catalogs/Solutions/Forms/AllItems.aspx to your public site URL (for example:

Once the sandbox solution is activated, just add the Anonymous Access List Permissionator web part to a page and follow the blog post referenced here.


I created a sample list and put it on a development site.  You can even grant ‘AddListItem’ permissions for anonymous users.  Check it out here:

AALPPublicWebAdd AALPPublicWebCustomers

Good luck and use it while you can because it looks like Microsoft is taking away the Public Website and it will only be good for two years.

The webpart can be downloaded here:

WSP: AnonymousAccessListPermissionator


New Year -> New Blog -> From Office 365 to an Azure WordPress site

If the new year is meant to bring renewal in all things, then my blog will be first (or possibly third, considering I didn’t get to it until the 3rd of the month) on the list of renewed life and expectations.

I had been playing around with different aspects of Azure websites and ran across the Azure WordPress template.  Although I spun it up over a year ago, life (2nd child, moving residences and work responsibility) intervened and I was unable to get my blog kicked off as I had hoped. Enter 2015!

Although I have not been a prolific blogger by any stretch of the imagination, I had some posts within my SharePoint Office 365 website and didn’t want to just start over.  I came across a recent blog post by René Hézser where he posts about migrating a SharePoint blog to WordPress and provides an entire windows application and source code.  I had to try out the code and see if it could give me the shortcut I was hoping to find.

What I discovered was that his code uses the lists.asmx web service on the SharePoint side and was designed to use credentials for an on-premises SharePoint blog.  With a little bit of fiddling with the code using techniques found on Tomasz Rabiński’s blog, I was able to just swap out the authentication credentials and leave the rest of the code intact.

Steps Taken:

  1. Add reference to Microsoft.SharePoint.Client.RunTime
  2. Modify the Connect() method to use SharePoint online credentials

After this, I was able to just do the migration with the authentication working like a charm.  A nice beginning to a new year!

Making the most of your Migrated Office 365 P1 Public Website

I know this won’t apply to the newly provisioned O365 sites, but for anyone who was lucky enough to have an original O365 P1 site and was upgraded to Wave 15, you are now able to use the new built-in Themes for Anonymous Users!

I have just scratched the surface, but here are the steps required to give your P1 site some great out of the box branding with little effort.

Open your Site Settings

If you have tinkered with your O365 site in the past, you most likely have had to find the site settings page. It is as simple as appending /_layouts/settings.aspx to your site URL. If you want to get there from the UI try the following:

  1. Click on the little gear in the upper right corner of your page and select Site Contents


  2. Look for the ‘Settings’ gear in the middle of the screen next to the recycle bin and click it.

Enable your Publishing Features

  1. Under the ‘Site Collection Administration’ heading, click on Site Collection Features.


  2. Scroll down until you see the Publishing Features -> Activate it

Change the look

You should now be able to change the look of your site and have these changes appear to Anonymous Users

  1. Click on the gear and select ‘Change the look’


  2. Go through the steps to select and apply the look to your site

Navigation is key

So now you can see a sweet built-in theme right? Well what really makes this technique shine is that since you activated the Publishing site collection feature, you now have the enhanced navigation capability available to your theme and any sub-sites you may have.

  1. Get back to your site settings by clicking on the gear > clicking Site contents > clicking settings.
  2. Select ‘Navigation’ under the look and feel header


  3. Choose how you want your Navigation to appear (use some trial and error until you get it right)

All done with time to spare

This quick way to make enhancements to your public web site allows you to use the power of SharePoint in the cloud for a low cost. My site is a living example of a migrated O365 P1 experience. Whatever you do, don’t repoint your DNS to the new SharePoint-public site that you are given. It has greatly reduced functionality the most notable:

  1. No ability to create sub-sites with anonymous access.
  2. No sandbox solution gallery.
  3. No List templates gallery.
  4. The list goes on and on (see image comparison below)

Site Collection Administration features

Migrated O365 public site
New O365 Public site