Let's fix all the problems!

How to log in to Microsoft’s websites (MSDN forums, Azure Portal, SharePoint Online) when you get a “Bad Request” error?

Every now and then, something like half of Microsoft’s websites will suddenly stop working – this applies to at least Azure Portal, SharePoint Online sites, MSDN forums, Office Onlineand probably a thousand of other sites. The error is most of the time something like this: Bad Request – Request Too Long HTTP Error 400. The size of the request headers is too long. Or like shown below: Or alternatively, you’re just stuck in a authentication loop forever. In this case, you don’t really have time…Continue reading How to log in to Microsoft’s websites (MSDN forums, Azure Portal, SharePoint Online) when you get a “Bad Request” error?

Microsoft Stores Backups For 14 Days, But Restores Them in 15

A cautionary tale of relying on the automatic backups in SharePoint Online

So Microsoft keeps 14-day rolling backups of your SharePoint Online sites. That’s awesome – no need to take backups anymore, right? Not so fast. It’s not always so easy, and by just relying on these backups, you risk losing your data. Forever, I might add. This cautionary tale is about SharePoint Online, but I’d say you’ll need to take caution anytime you’re dealing with Microsoft’s automatic backups. The story starts with the client doing something unwise – a prime example would be them removing the…Continue reading A cautionary tale of relying on the automatic backups in SharePoint Online

MFW another API just stops working without returning any errors

How to fix Twitter embed in SharePoint

Twitter embed has a stupid, built-in failure condition: if the User Agent contains IE10 or older, the embed script will not load. This causes SharePoint embeds to fail. This post describes how to fix that.

Obama congratulates you on your broken apps

Fixing an unhandled exception about StructureMap configuration failing (messed up assembly bindings)

So, you’re running a console program, but while you try running it, you get an error like this: “StructureMap.Exceptions.StructureMapConfigurationException”, with a message like this: “Unable to find the exported Type’s in assembly” (the typo done by Microsoft, not me). There’s a number of reasons for this error, but for a fair share of the time that’s just your assembly bindings being messed up. Luckily, that’s another easy fix! 

SOLVE ALL THE ERRORS!

How to fix AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials.

Have you run into the cryptical “AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials.” error? I have. This post will tell you how to fix it. How to fix AADSTS50059? I encountered this error while trying to reload a page with some JavaScript that authenticates against Graph API. It completely blocks the functionality, as it redirects the user to login page. Luckily, at least in my case, this was easily fixed! Your error might look something like this:…Continue reading How to fix AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials.

How to show a pop-up in SharePoint

This ages old trick deserves to be published – since it makes it easy to quickly show info from pretty much any another page on pretty much any Classic SharePoint page (in a SharePoint-compatible pop-up). So, here goes: Using SharePoint’s JavaScript library to open an arbitrary pop-up Yes – SharePoint contains all the functionality out-of-the-box, and you almost don’t have to do anything yourself! Let’s see how this works. Okay – long story short. On all Classic SharePoint pages, you can call this function: SP.UI.ModalDialog.ShowPopupDialog(). Like…Continue reading How to show a pop-up in SharePoint

Thanks for coming to my session in SPS Nashville!

I was at Cloud Friday and SharePoint Saturday Nashville 2018 (SPSNash18), and had my session on Saturday – that was a lot of fun! I had the chance to meet a lot of new (and some “old”) people, and I think the community liked my session about Citizen Development tools (for “actual developers”) quite well!

SharePoint Saturday Houston session banner

Speaking at SPS Nashville on 5/5/18!

This Spring is crazy – so many cool announcements to make! I’ll be speaking at SharePoint Saturday Nashville on 5.5.2018. This one’s a completely new SPS event for me, and I’m honored my session was accepted on the developer track! Based on the feedback from earlier sessions, I’m really excited to speak to the community about the cool new toys Microsoft is giving us! :)