13 SharePoint Saturday Stockholm

First half of this episode it’s Lise and Christina talking about news from the Office365 world. The other half is interviews with some of the speakers at the SharePoint Saturday conference that took part at World Trade Center in Stockholm. A fantastic venue and we felt so inspired and happy to meet all the great people there. Visit http://www.spssthlm.org/ for more information. You will find the minutes into the show where each interview starts if you wish to ff ūüôā
Thank you for listening!
Cheers from Lise and Christina

Interview 1 Sofia Edholm 23:25
We meet one of the keynote speakers Sofia Edholm from Microsoft. She talks about her role and also shows us the brand new Surface Go!

Interview 2 Wictor Wilén 30:25
We meet Wictor Wil√©n from Avanade and talk about his brilliant session “Building apps for Microsoft Teams like a boss”! He talks about bots, Teams App Studio, news in Teams and more!

Interview 3 Göran Husman 43:40
We meet Göran Husman, our favorite tutor! His session was about better collaboration with Office365 and we loved his presentation! He talks about his current role and how he helps the customer to adapt the new collaboration tools.

Interview 4 Sandy Ussia 55:10
Our favorite guest Sandy Ussia is back in the show! Her session was PowerApps Jump Stsrt, where she demoed how t get started building appps. and the presentation was built with on Powerapps and you could download it afterwards. She talks about a new user forums, link is https://www.powerappsug.com/

Interview 5 Christian Ståhl/Gentrit Sahiti 1:04:20
We meet Christian St√•hl and one of his students, Gentrit Sahiti, who just graduated and they talk about the EC Education programme and what happens afterwards. Christian has been a teacher there since the start in 2012 and Christina has also attended that training! After this interview, at the raffle from the sponsors, Gentrit won Rencore’s price which is a ticket to Collaboration Summit in Germany next year!! A great prize and we were so happy for Gentrit, congratulations and good luck in the future!!

Interiew 6 Jens Weil 1:13:10
Last interview for the day is with Jens Weil who is the organizer of SharePoint Saturday in Stockholm. Hear about his work with the preparations of this conference and how it went today. We want to thank Jens for an excellent conference and look forward to the next!

12 Daily life as a SharePoint Consultant

We got a mail from a listener who asked if we could interview a SharePoint consultant to hear about their daily work and challenges. And your wish is our command so I asked a very cool and sharp woman, Jenny Hedin, to come to the show and share her story with us. Thank you for listening and please subscribe and rate our podcast if you like us! Cheers!

You do not have permission to run the RECONFIGURE statement

After the SharePoint Server 2013 version was patched last night (Windows patches, about 150 ones!!), of course – as expected – the databases were in upgrade mode on SharePoint. So I started SharePoint Config Wizard (not through Powershell) and on step 2 I got the message as follows:

Exception: System.Data.SqlClient.SqlException (0x80131904): User does not have permission to perform this action. You do not have permission to run the RECONFIGURE statement.

Checked first that all services ran with correct accounts, had to change two where Local System was set (why?? do not know), checked that the SQL services service was running on the SQL server, checked that the farm account still had DB_Creator rights on the content db’s, and all seemed correct.

I have never seen this error before so I went to Google of course. Found an article (cannot remember where unfortunately) that said to add the farm account as a SysAdmin on the SQL server. And after that I could proceed with Config Wizard. But it ended with a failure. See below message (it is me who has added the X’s in the text below):

An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information:
Database [WSS_Content_MySites] contains a site (Id = [7e9181b9-ef7a-452c-a2ae-fxxxxxxx], Url = [/personal/xxxx]) that is not found in the site map. Consider detach and reattach the database. (EventID:ajxkz)

Feature (Id = [367b94a9-4a15-42ba-b4a2-324xxxxxx]) is referenced in database [WSS_Content_XXX], but isn’t installed on the current farm. The missing feature might cause upgrade to fail. If necessary, please install any solution that contains the feature and restart upgrade. (EventID:ajxkh)

And etc….

So I started Powershell and ran this command:

psconfig.exe -cmd helpcollections -installall -cmd secureresources -cmd services -install -cmd installfeatures -cmd applicationcontent -install -cmd upgrade -inplace b2b -force -wait

And that fixed it. As usual, make sure to go into Central Administration and start the User Profile Synchronization service as that rarely starts after upgrades like this.

Also checked the Health Analyzer and got rid of all messages regarding upgrade needed.

Checked all services and last thing, click on “Upgrade and Migration” link in CA to see that the messages about Incompatibiliy range were reset to “No action needed”.

CHECK!

Not sure what effects it will have to keep the farm account as SysAdmin at the SQL server but I will keep it for now!

Not too bad from having an emergency errand at 07.30 and be ready by 9 ūüėČ

Time for breakfast… ūüôā

Episode 9 Hub Sites, Teams & More!

It’s been a while since our last episode so this is a longer one, and we have lots of things to talk about. We are talking Hub sites, Teams, SPfx, SPO, powershell and other topics!

Link to Vesa Juvonen’s tutorials on YouTube is here.

Hope you enjoy it and please rate our podcast if you like it, we would be very grateful for your feedback.

Cheers from Lise & Christina and hey, follow us on Insta @witgirlspod

Help us improve WitGirls Podcast!

We have recorded 8 episodes of the WitGirls Podcast now and we think it is time to hear your opinion about the podcast! So that we can improve it, maybe talk about something that you would like us to discuss and you can suggest a guest even. We would be very grateful and happy if you wanted to answer a few questions and also rate the podcast.¬†We really appreciate your feedback and comments ‚Äď good as bad¬†?

The survey is anonymous but you can fill in contact information if you want us to contact you. Link to survey is found HERE

Thank you very much for taking time to answer these questions!

Cheers from Lise & Christina

WitGirls Podcast

I have launched a podcast called “WitGirls Podcast” and it will be hosted by me and my friend Christina. We have both long experience from working with SharePoint/Office365 and also from working within the IT business. I also listen to a lot of podcasts, but there aren’t so many in this world that is run by women. So I thought it could be fun to start sharing our experience and also we will invite guests to the show. In the first two episodes we present us, our background and what we work with. In upcoming shows we will invite guests and also deep dive into issues or apps that we are working on. Or topics related, there aren’t really any rules – I don’t like rules – and we can talk about whatever we feel like. If you would like to be our guest, contact us at witgirlspod@gmail.com. Read more on our website witgirlspod.wordpress.com. You can listen to us on SoundCloud or iTunes. Hope you will enjoy the show, and remember – it’s our thoughts and opinions in the podcast, not Microsoft’s or any other product’s views. We do not have any sponsor. This is for fun and I strongly believe that sharing is caring! Hope to see you on a SharePoint somewhere! Cheers!

Move SP databases to SQL 2016 Cluster

This post describes how to move SharePoint 2013 SP1 OnPrem server SQL content databases from SQL 2012 to 2016. This means that there is no upgrade involved, only a move to a new SQL Server Cluster. It worked really well. Even if I read lots of articles that it is not supported to run SharePoint 2013 on SQL 2016 it does work if you follow the steps below.

Step 1 Check the Health Analyzer in SP
This is an on prem server and the customer does not have an active SP admin, so I wanted to make sure the server was in a fresh state. I checked the messages in Health Analyzer and noticed that there was an Upgrade message which I wanted to correct first. All content databases had the message “Database is in compatibility range and upgrade is recommended”. I guess some other administrator had done an update on the server but missed the part with running the SharePoint Config Wizard afterwards. So I did just that, and once the Wizard was completed the messages were gone.

I also checked that the UPS and Search etc was running fine without any errors.

Step 2 Backup and Snapshots
Now that the servers are fresh, do an entire backup of all content databases and take a snapshot before you start, in case you must make a rollback.

Step 3 Document your server configuration

I always document the server configuration before I start any changes on a server, to make sure all services runs with the same accounts and mostly because my memory is really bad and it is easy to forget something. So I take screen shots of the Services with the SP accounts that are running, I document “Services on server” inside SP, etc. I also look at the SQL server instance in the “Security” and “Permissions” areas to see what accounts are there and the roles they have. This is important, otherwise you will not be able to connect to the config database later.

Step 4 Verify what content databases that should be moved

Do not move over old databases, keep the servers fresh and without old data. So I¬†checked what databases to be moved. I discovered that there were two Config databases, so only one of them should be moved into the new SQL server. Also, some “test” databases were there for old web applications that no longer was in use. So only move the databases that you actually use. You can see a list of which databases that are in use, if you go to “Upgrade and migration” in Central Administration and click on “Review database status”. There are all the content databases listed that SharePoint uses.

Step 5 Setup the new SQL server

Make sure all accounts that are used on the “old” SQL server are setup the same way on the new SQL server instance. Check dbo, security roles and permissions. You may have to select the dbo account in “Permissions” and check what roles it has, like “Connect to databases” etc. Then select the service accounts, they may have¬†a different role setup.

Step 6 Stop the SP services

Now stop all SP related Windows Services on each SharePoint server in your farm. Do it in this order (thanks to Dan Holme and his article about moving databases http://sharepointpromag.com/sharepoint-administration/simple-guide-moving-sharepoint-content-databases-new-server):

SharePoint 2013: W3SVC, SPSearchHostController, OSearch15, SPWriterV4, SPUserCodeV4 (was not running), SPTraceV4, SPTimerV4, SPAdminV4, FIMSynchronizationService, FIMService, DCLoadBalancer15 (disabled), DCLauncher15 (disabled)

Then, open a command prompt with Run As Administrator, and enter the command IISRESET /STOP

Step 7 Detach databases on the source SQL server

In SQL Server Management Studio, right-click each SharePoint database (the ones you decided to move), point to Tasks, then click Detach. In the dialog that appears, click OK

Step 8 Copy databases to the target SQL server

We did not move the databases, but copied them to the new SQL Server. You’ll need both .mdf (database) and .ldf (log) files.

Step 9 Attach databases to the target SQL server

In Management Studio on the new SQL server, right-click the server or instance, then click Attach. In the dialog box, click Add, then select one database. Click OK to finish attaching the database. Repeat for all databases.

Step 10 Reassign the DBO of the databases

This is an important step. If you don’t assign the correct security roles, permissions and dbo to the databases the connection will fail from the SP server. When you attach databases to the target SQL server, your user account becomes the DBO of the databases so make sure you assign that back to the Farm Account.

Step 11 Create an Alias on the SharePoint server

You can now shut down the “old” SQL Server to make sure this step below really works.

Now we will force the SharePoint servers to use the new SQL Server instance. To do this, we will add an Alias in CLICONFG.EXE so run that on the SP server. Click on the tab “Alias”, and then on “Add” (if it is empty, which it was on my server. If not, then “Edit”). Do the setup according to this image, it is self explanatory. Very smart actually. It may take a while before this connection works, so maybe¬†restart the “Browse SQL” service to refresh that and if you have done all steps above correct, it should work as soon as you have done the last step below. The alias is used to redirect the connections from the original source SQL server to the new SQL server. Repeat this on each and every SharePoint server.

NOTE: Do NOT forget to add the SERVER INSTANCE after the SQL Server names (on both the original and the new target SQL servers) otherwise the connection will fail.

Step 12 Start the Windows Services SharePoint services and IIS

Start the SharePoint services in Windows Services again on each SharePoint server. They should be started in the reverse order from how you stopped them.

So on SharePoint 2013 start them in this order: DCLauncher15, DCLoadBalancer15, FIMService, FIMSynchronizationService, SPAdminV4, SPTimerV4, SPTraceV4,  SPUserCodeV4,  SPWriterV4, OSearch15, SPSearchHostController, W3SVC,

Then start the IIS by running as an admin: IISRESET /START

Step 13 Start Central Admin and fingers crossed ūüôā

Check that Central Administration fires up, if you are lucky – then all is back up again! Also make sure that all service applications like UPS (I always have to start that service manually from within SharePoint CA), Search etc are up and working. For me, all this was working as before. And last but not least, make sure all your sites are running!

Step 14 Reboot the SP server/s

This is maybe not necessary but I always do this to make sure that everything really runs… I reboot the SP servers one last time to be certain. And – all running fine after that too ūüôā

Done!



Change the color of modern views

I got a question from a customer who did not want the red, purple, pink, green etc colors in the modern views in SharePoint on Office365. It seems like each subsite gets their own colors, and how can you change that to one color that matches the company’s graphic profile?

 

Pressed F12 to get the developer tools and deselected the bg color that was in a class called something with theme.. and then the default blue color showed up. So this color theme comes from an actual theme on the site. I have never chosen a theme, but decided to check out if any settings where applied anyway.

First I opened the link “Theme” in Site settings, and removed¬†any folders from there. Did not change anything.

Then I opened Site settings > Change the look and selected the Office Default Theme. No change.

To see the connection between the site and its modern view colors:

Click on “SharePoint”, the tile in the app launcher. There you can see the pattern. The colors comes from the icons there. It matches, I got the pink color and purple color on these two sites when I open the modern views.¬†I am stuck here, there is no settings that I have found that can change these colors.

 

Conclusion:

If you don’t want these random colors, make the following changes (below). Note that this will NOT affect the sites that are already created.

  • Follow my steps above to remove any old Themes
  • Click on the “Office” default theme in “Change the look” so that is really added
  • You can check the “Prevent users from overrriding..” in Admin Center and it will still add the new sites in default blue theme

Now all your site icons in “SharePoint” and the modern view colors will be the default blue: