"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." leads to a 404 error in jQuery.

How to fix an Azure Function (v2) failing with error “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.”

Reading Time: 4 minutes. This post describes one way to resolve a problem, where you receive an error like “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.” when calling your Azure Functions. Problem Another day, another simple, yet kind of weird issue to solve! This time I was developing a simple Azure Function to access Microsoft Graph API. This particular issue was kind of bugging, since the error message actually had nothing to do with the actual issue and gave no pointers as to how to fix the issue! I was just developing a function, […]

AADSTS50011: The reply address ... does not match the reply addresses configured for the application.

How to fix AADSTS50011: The reply address does not match the reply addresses configured… error

Reading Time: 3 minutes. So, you got an error with a code AADSTS50011? That’s ok – it’s just Azure AD’s authentication acting up because of invalid reply URLs! Since there might be a couple of different reasons for this error, this post also describes a couple of different solutions, that might help you overcome the issues. Error So, you’re getting an error somewhat like this: But why? Did you mess something up? Well, if you’re the person who configured the app you’re trying to use, you probably did! Although Microsoft might still be the one to blame for that.

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?

Reading Time: 4 minutes. Every now and then, something like half of Microsoft’s websites will suddenly stop working – this applies to Azure Portal, SharePoint Online sites, MSDN forums and 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: This effectively blocks you from accessing the site. Most typically, I’ve encountered this on MSDN forums or Azure Portal – I’ve just faced a very blunt, unfriendly and quite useless error message, like above. This applies […]

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

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

Reading Time: 10 minutes. 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 root web of their classic SharePoint Site Collection (don’t do that!). 

MFW another API just stops working without returning any errors

How to fix Twitter embed in SharePoint

Reading Time: 4 minutes. Twitter has always been good for developers, except for those who’d like to embed anything – hence making it possible to interact with their contents on other sites than Twitter. I guess it’s understandable, but they seem to hate anyone trying to embed feeds, searches or anything on their sites. And they express their hate by making the developers’ lives more difficult… This time by silently breaking the embed script in a way, that’s tricky to work around. The Problem In February 2018, Twitter announced that their widgets will start rendering fallback markup on IE9 and IE10 “in the near […]

Obama congratulates you on your broken apps

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

Reading Time: 6 minutes. 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.

Reading Time: 4 minutes. 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: Request Id: <guid> Correlation Id: <guid> Timestamp: 2018-04-27T20:58:36Z Message: AADSTS50059: No tenant-identifying information found in […]

How to show any page in a pop-up in SharePoint

Reading Time: 5 minutes. 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.

SharePoint Saturday Houston session banner

Speaking at SPS Nashville!

Reading Time: 2 minutes. 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! 🙂

Houston by night

Speaking at SPS Houston!

Reading Time: 2 minutes. Another exciting announcement to make – I’ll be speaking at SharePoint Saturday Houston on 28.4.2018! It’s a completely new SPS event for me, and I’m honored my session was accepted on the developer track with some other really professional speakers. I’m really hyped to share more of the cool stuff I’ve been working on! 

SPS TC logo

Materials for my SPS TC session: “Citizen Developer Tools are not just for Citizen Developers” now available!

Reading Time: 5 minutes. Whoops – this post comes quite late, as the session was a couple of weeks ago already.  I recently had a session at SharePoint Saturday Twin Cities (SPS TC for short) and thought I’d share my materials and document my experiences. Oh, and do the shout-outs, since I referenced some and tools by some extremely talented people!

Microsoft Azure logo

Solving Azure Web Application’s first load perfomance issues

Reading Time: 3 minutes. Is your Azure Web Application suffering from absolutely horrible load times every time someone accesses it for the first time every 15 minutes or so? Mine was. It was pitiful. I was developing a web-based service using EF6 and ASP.NET MVC 5, where all the assets were hosted in the Azure. Even though the app was reasonably lightweight and usually responded very fast, the first time someone accessed it in a while it took 20-60 seconds to load AND sometimes even timed out (especially with mobile clients). Load testing revealed only the what I already knew: initial load times were […]

SPS TC logo

Speaking at SPS Twin Cities!

Reading Time: 2 minutes. Exciting announcement to make – I’ll be speaking at SharePoint Saturday Twin Cities (SPS TC for short) on 14.4.2018! It’s one of the biggest SPS events worldwide, and I’m honored my session was accepted on the developer track. I’m really hyped to share some of the cool stuff I’ve been working on! 

SharePoint doesn't work as intended

Opening a web part page in maintenance mode

Reading Time: 3 minutes. Can’t access a web part page because of a broken web part? Yeah, that’s a classic issue – and it’s nicely ported into Modern world, too! In these cases, web part page maintenance mode comes in handy! There’s a query parameter available for accessing it. For whatever reasons, it’s different for Classic and Modern mode, though. Why make things easy if you can make them dificult, right? 🙂 

SharePoint vs. Anonymous

Troubleshooting: Anonymous access on a public SharePoint site collection failing

Reading Time: 4 minutes. Ah, everyone’s favorite, classic topic! Debugging SharePoint On-Premises configuration issues is the best thing since sliced bread, right? This post is about allowing/enabling Anonymous Access to a site collection – a simple configuration, that “simply works” like once every ten times you try it. Symptoms A lot of different ways to hit your head on this one. In any case, your on-premises SharePoint doesn’t allow anonymous access to a site where you are trying to allow it. Most typically, they’ll just encounter 401 error when accessing the site, or they might be missing some of the content or styles, resulting […]

Let me explain SharePoint

How to show a Classic SharePoint page in dialog mode (without SharePoint’s full-blown chrome)

Reading Time: 2 minutes. Classic SharePoint actually has a very handy piece of functionality, using which you can hide most of the SharePoint chrome (like header and navigation), and hence make the page a lot more sleek. This is especially useful for showing the contents in a dialog window – which SharePoint also supports natively through JavaScript! This post describes how. How to show any (classic) SharePoint page in dialog mode? Pretty easy – it’s handled via a url parameter! 

Not sure if a bug or a feature

How to get rid of Foxit Drive in Foxit Reader

Reading Time: 3 minutes. If you’re like me, you’re not using Adobe Reader, but rather switched to Foxit Reader years ago, and never looked back. Foxit has a great PDF printer, it’s a great reader, but not perfect. The default save location is “Foxit Drive”, and it pops up any time you try to save your document, and at least for me interrupts my workflow. This post describes how to get rid of it, and make Foxit Reader even better! Description of the issue Okay, so Foxit Reader is pretty great, but they’ve got their difficulties, too. Being freeware, they kind of need to […]