Blog

  • Forms Based Authentication Configuration Manager for SharePoint

    Forms Based Authentication Configuration Manager for SharePoint

    I’ve configured Forms Based Authentication (FBA) in SharePoint on several occasions – from 2007 right through to 2013, but until now I have never discovered a life-saving tool that Steve Peschka has written called Forms Based Authentication Configuration Manager (FBA Configuration Manager for SharePoint 2013) available on his TechNet Blog Share-n-dipity.

    I’ve been there at least once or twice and I’m sure others have as well – where we’re happily modifying the web.config on half-a-dozen or more servers and as Steve so elegantly describes it, we “fat finger some random part of a web.config change” causing complete devastation to the running of SharePoint and to your progress. Well not any more my sysadmin friends, not any more not with this tool. It allows you to edit the connection string, people picker wildcard, membership provider, role provider details within the web.config for a specific web application. It then creates a backup copy and updates the web.config across all the servers in your farm through a timer job which is a really neat trick.

    FBA Configuration Manager
    FBA Configuration Manager

    Having done this now on several occasions I thought I was pretty confident flying through the steps necessary within an hour or so…the occasional error would sneak in and then I would spend as long again troubleshooting the configuration. Steve’s Forms Based Authentication Configuration Manager has now completely removed the chances of any errors sneaking in and will make me even quicker configuring FBA in SharePoint. Thank you, Steve!

  • Crab & Winkle, Whitsable

    We had such a fantastic meal at the Crab & Winkle Restaurant in Whitstable that I wanted to share it amongst friends. The staff where all friendly and very accommodating considering we had Florence and the pram with us. Each dish was absolutely delicious and it was just the fish-fix I had been craving. Sadly we were not able to visit the fish market as it had long been closed by the time we arrived…but it’s something for us to try next time we go visit.

    The Crab & Winkle Fish & Seafood Restaurant, South Quay, The Harbour, Whitstable, Kent, CT5 1AB (01227 779377).

    www.crabandwinklerestaurant.co.uk

  • The Wolf of Wall Street

    The Wolf of Wall Street

    I started reading The Wolf of Wall Street as soon as I saw the film advertised on the TV shortly after seeing The Great Gatsby in 3D in the cinema. I really enjoyed The Great Gatsby and it seemed that this was a more modern version of The Great Gatsby in some ways. As it happened my partner had a copy on the bookshelf so I grabbed it and found myself struggling to put it down -although I replaced the paper copy for an eBook version to have on my iPad for easier reading.

    The Wolf of Wall Street
    The Wolf of Wall Street

    So far I’m only half the way through and am thoroughly hooked. I’ve enjoyed reading what the Securities Industry was like when it first started out and what Jordan Belfort did with his fortunes (what seems an unspendable amount of money), from the finest Egyptian silk bed sheets and feeding his drug addictions at $1500 per pill to funding his wife’s latest interests and hobbies.

    The whole story is just mind-blowing and I can’t wait to see the film now!

  • Welcome to the world my baby girl!

    This is going to be a real quick post but I wanted to introduce you to my baby daughter Florence who was born just a few days ago. Mum and baby are doing well and keeping daddy plenty busy.

    Florence minutes old
    Florence minutes old
    Florence sleeping
    Florence sleeping

    I wish for her to have the healthiest, happiest, safest, most fun and most successful future possible. Welcome to the world Florence and good luck!

  • Workaround to “the server is temporarily unavailable” when signing into Lync 2013

    Workaround to “the server is temporarily unavailable” when signing into Lync 2013

    Since our Office 365 tenant was upgraded we’ve been experiencing difficulties with our users signing into Lync 2013. When these users tried to sign in, the Lync 2013 client returned an error saying it could not communicate with the server. The users received the following error.

    “The server is temporarily unavailable.”

    The server is temporarily unavailable
    The server is temporarily unavailable

    Background

    Firstly our IT guy raised this issue with Office 365  through a support ticket some months ago when we started experiencing this issue. There was some back and forth communication however no solution was ever found. As far as I know, the issue is still open.

    A few months passed and I was getting more and more frustrated that I wasn’t able to communicate with my team using Lync so I decided to spend some time and see if I could find a solution myself.

    Here is some other background information about our configuration…

    • Domain joined machines using Office 2010 were ok
    • Mobile clients were fine
    • All users are part of a Windows 2008 R2 Active Directory domain that is not connected to Office 365 through ADFS or DirSync
    • User accounts experiencing the issue have spaces in their account name (Joe Bloggs)
    • The Office 365 DNS records are set up correctly – even broke out fiddler and checked my Lync client was reaching it’s end-points correctly which they were
    • Our internal domain is using an unresolvable .local address

    After reading countless forum posts I noticed many others were reporting similar issues and the issue seemed quite widespread.

    So after some research, I read that Microsoft was aware of the bug and did not expect it to be resolved until September time. Others were saying that it worked with users whose machines were not joined to an Active Directory domain. This leads me to think about try using a local account and there it is folks – my solution!

    This is less of a solution but more of a workaround whilst Microsoft fix this issue once and for all!

    1. Kill the “lync.exe” process (use Task Manager to end the process)
    2. Create a new local user account on the computer (lusrmgr.msc)
    3. Add this account to the Administrators security group
    4. Navigate to the Program Files directory for Lync 2013 (C:\Program Files\Microsoft Office 15\root\office15\)
    5. Whilst holding the SHIFT key down, right click on the “lync.exe” application and select “Run as different user”
    6. Enter the username and password of the account that was just created
    7. Lync 2013 should open and launch the “New user configuration” window
    8. Sign in to Lync 2013 with your Office 365 username and password
    9. The Lync 2013 client should now happily work

    I should highlight that some features such as creating a Lync meeting through Outlook might not work due to the processes running as different user accounts. Try it out for yourself and see.

    Fingers crossed Microsoft fix this issue pretty soon!

  • Install standalone OneDrive for Business (formally SkyDrive Pro)

    Install standalone OneDrive for Business (formally SkyDrive Pro)

    Ok, so this has bothered me for some time – until now, there has been standalone OneDrive for Business SkyDrive Pro client. Users have had to install Office 2013 to experience the new way of synchronising files with SharePoint.

    The reason it has bothered me is that it is such a limitation to require the client to be installed in this way. For most organisations, it is just not feasible to install the latest and greatest software from day one due to budgets and wider IT constraints, resources and policies where software has to be tested, licensed and patched for example.

    Let’s put that aside now as I’m really happy to see that Microsoft released a standalone installer for the OneDrive for Business SkyDrive Pro client earlier this week.

    Download

    The standalone OneDrive for Business client is available on the Microsoft Downloads site. Both 32-bit and 64-bit versions of the client are available.

    The client can also be installed alongside previous versions of Office and can be used to synchronise libraries from SharePoint 2010, SharePoint 2013 and SharePoint Online in Office 365.

  • The bike ride of a lifetime

    I’ve just come back from the most incredible bike ride ever!

    While on holiday in Majorca, I was lucky enough to receive an invitation from my chairman (he lives out there) kindly invited me to join him for a bike ride. He has been cycling for 8 months or so now cycling every day if he can and is very fit and healthy.

    My bike for the ride
    My bike for the ride

    There were many tough parts to this ride and it started with me using a mountain bike with rather wide wheels! Bryan was riding a beautiful Scott and we passed scores of pro cyclists and teams riding some very very expensive bikes!

    Then there was the heat, which was around the 25ºC mark. A temperature that I rarely experience when cycling back home in the UK. Lastly, there were the mountains (or hills, it’s open for debate) that began as steady inclines and worsened to 10% gradients. We finished the ride with a soul-destroying 15% gradient, although by this point it seemed as if I was sprinting along rather than the snail’s pace at which I started out at.

    I just want to point out at this point, that I consider myself to be a keen, fit cyclist and really love to sprint whenever I have an opportunity. I can tell you there was no spiriting on this ride! I had that feeling I wasn’t going to make it up some of these climbs – they were tough but I pushed on!

    After the climb and mastered control of those wobbly legs as you inevitably now have, you are able to reap the reward of the most impressive, stunning views at the peak. But better than the views at the peak where the seemingly never-ending descents…I cannot recall ever cycling so fast, for so long! The lack of speed of the climb, combined with the very hot temperature and the increased heart rate you can imagine this doesn’t paint a pretty picture but the net result is what goes up must come down and I certainly cooled off with the air I passed through as I descended. On one descent my speed registered 37mph!

    Lunch in the sun in Port d'Andratx
    Lunch in the sun in Port d’Andratx

    We stopped for a bite to eat in a gorgeous fishing village called Port d’Andratx, which Catherine and I had previously visited and is one of our favourite places from the holiday. After a sandwich and coffee in the sunshine and an opportunity to catch a breath, we continued on with the ride.

    The bikes having a rest
    The bikes having a rest

    As we set out on the last leg of the ride, I had images of us cycling the reverse of our earlier climbs however we returned on a different route that was a little more forgiving for a cyclist like me, who is used to the flat!

    After completing the ride I reviewed the stats from my iPhone App I had running (Cyclemeter) and smiled happily when I saw that I had climbed a total of 550 metres or 1,804 feet.

    Will I do it again? Absolutely positively yes I will! Thank you so much Bryan.

    With Bryan before our bike ride
    With Bryan before our bike ride
  • Determining the version of your SharePoint Online servers

    Determining the version of your SharePoint Online servers

    If you need to check what version of SharePoint server your Office 365 tenant is running especially during the Office 365 and SharePoint Online service upgrade (aside from checking through the Admin Portal via https://portal.microsoftonline.com) then you can add the following /_vti_pvt/service.cnf to the end of your SharePoint site – as shown below.

    https://jcallaghan.sharepoint.com/_vti_pvt/service.cnf

    The page will output two lines of text from which we can determine the version of the SharePoint servers. If the second row starts with 14 then you are running SharePoint 2010, if it starts with 15 then you are running SharePoint 2013.

    /_vti_pvt/service.cnf output displayed
    /_vti_pvt/service.cnf output displayed

    SharePoint Online on SharePoint 2010 servers:

    vti_encoding:SR|utf8-nl
    vti_extenderversion:SR|14.0.0.6120

    SharePoint Online on SharePoint 2013 servers:

    vti_encoding:SR|utf8-nl
    vti_extenderversion:SR|15.0.0.4454

    After the service upgrade, you may be running SharePoint 2010 on SharePoint 2013 servers (technically known as 14 mode) until you upgrade your site collections to SharePoint 2013 (15 mode).

  • Configure delegated administration on a Office 365 tenant

    Configure delegated administration on a Office 365 tenant

    Update: July 2015 Some readers have kindly brought to my attention that after reading this post, they were concerned as to data security. Having read this post back, some two years on, I can see how some misunderstanding can be made from this post, so I’ve updated the article to reflect this. Finally, the disclaimer on this site has always suggested you validate the information with secondary sources. Microsoft also publishes information around how they protect and secure data in Office 365 on their Office 365 Trust Center site – please use this for any concerns around data protection. Additional information: Partner admin centre

    At the time of writing this post, I was working for a “Microsoft Cloud Accelerate” partner. As a result of this, certain user accounts within our own Office 365 tenant were able to provide support to our customers, they would need to explicitly agree to the partner providing ‘delegated administration’ to their Office 365 tenant.

    Delegated administration allows selected users to perform ‘delegated administration’ functions to Office 365 tenants (those that have allowed this) using their own credentials. This could be creating support tickets, managing users accounts and resetting passwords to configuring their services – it is also possible to support customers with SharePoint Online.

    All of this of course, from setting up ‘delegated administration’ through to supporting customers with this function should be always be agreed and authorised with the customer. A key point to make clear with your customers is that by establishing the ‘delegated administration’ trust, the partner has access to provide ‘delegated administration’ to Office 365 services, subscriptions and SharePoint Online for example in their Office 365 tenant.

    Create a delegated administration offer for your customers

    To create a delegated administration offer for your customers you must do the following:

    1. Browse to the Partner Overview page (https://portal.microsoftonline.com/Partner/PartnerHome.aspx)
    2. Click on the link “Send delegated administration offers” link.
    3. Copy the information that appears in the window and sends this offer on to your customer(s). The offer isn’t customer-specific so you can reuse this offer for multiple customers.
    Delegated administration offer template
    The delegated administration offer template

    The customer must then click on the link they receive and proceed to authorise you the partner as a delegated administrator of their Office 365 tenant. You will then receive an email confirming they have configured delegated administration.

    In order for users within the partner organisation to perform delegated administration, they must be given administrative access to companies you support.

    "Assign administrative access to companies you support" permission
    “Assign administrative access to companies you support” permission

    To do assign users with the permission they need you must complete the following:

    1. Navigate to the “Users and groups” page.
    2. Find the user you wish to give this permission to and select “Edit”.
    3. From the “Settings” page scroll down to the “Assign administrative access to companies you support” and select “Yes”. This will then give the user access to the “Partner overview” page.
    4. Then choose the appropriate role, and then click “Save”.  The full administration role has the same privileges as the global admin role for the companies you support. The limited administration role has the same privileges as the password admin role for the companies you support.

    Performing delegated administration

    To do administer a customers Office 365 tenant you must use the “User and domain lookup tool” that is available on the “Partners” tab. Here you can enter your customer’s information it will bring back information about the tenant such as the subscription type and contact information. This page also displays three links to “Administer on behalf of”, “Create service requests” and “Show all administrators”. The “Administer on behalf of” link will then takes you to the “Office 365 admin centre” where you can manage and administer their tenant.

  • Embed code in a SharePoint 2013 web part page

    Embed code in a SharePoint 2013 web part page

    A quick post here to share a new feature in SharePoint 2013 that enables you to easily embed code such as javascript and CSS into the content area of a web part page for example.

    Insert action to embed code
    Insert action to embed code

    Previously we did this by editing the page source or by creating lots of text files and linked them using the “Content Link” parameter in “Content Editor Web Parts (CEWP’s)”. Now we can easily embed code on a content page where SharePoint places it is in a lovely dedicated snippet section that is only visible when you edit the page.

    Code embed in page content
    Code embed in page content
    Embed code window
    Embed code window

    When you add any javascript SharePoint converts the “edit snippet” link as shown above to a web part where you then edit the content much like the “Content Editor Web Part”.

  • The Sign in as Different User option is missing in SharePoint 2013

    The Sign in as Different User option is missing in SharePoint 2013

    I’ve been exploring SharePoint 2013 in recent days and noticed that the ‘Sign in as Different User’ option or action from the welcome control (user menu) seems to have been removed or forgotten from the user interface in this build.

    Sign in as Different User in SharePoint 2010
    Sign in as Different User in SharePoint 2010
    No sign in as different user missing in SharePoint 2013
    No sign in as different user missing in SharePoint 2013

    For someone who works with SharePoint as I do, any kind of administration, developing or testing that requires you to sign in as another you will now become convoluted from the previous version and is somewhat frustrating and annoying. Others such as Nick Grattan have discussed this issue and possible workarounds.

    Of all the workarounds currently available such as browsing to the closeConnection page directly, modifying the welcome control and adding the control back (I do not recommend this approach), creating a javascript bookmark, embedding jQuery into the master page to insert the option back in the menu and lastly launching the browser with the RunAs option my preference will remain to browse directly to the closeConnection page:

    /_layouts/closeConnection.aspx?loginasanotheruser=true

    Or alternatively, use the javascript bookmark Cory Peters has kindly created:

    javascript:window.location.href=”http://”+window.location.host+”/_layouts/closeConnection.aspx?loginasanotheruser=true”;

    It will be interesting to see what others do and as to whether or not the option gets added back by Microsoft in a future update.

  • Identifying your SQL server version using SQL Server Management Studio

    This one’s quick. There are a couple of ways to find out your SQL server version. Firstly the version is listed within the Object Explorer in the Microsoft SQL Server Management Studio. The second option which provides more detailed information is to run the following query.

    select @@version

    The version information is returned in the query results section at the bottom. Both examples of obtaining the SQL server version are shown in the image below.

    Identifying Microsoft SQL Server version using Microsoft SQL Server Management Studio
    Identifying Microsoft SQL Server version using Microsoft SQL Server Management Studio