#SharePointProblems | Koskila.net

Solutions are worthless unless shared! Antti K. Koskela's Personal Professional Blog

All Posts

Browse all blog posts and archives

All Posts (549)

Showing 251 to 275 of 549 posts (Page 11 of 22)
  • Cover image for ILogger binding suddenly failing for Azure Functions - what to do?
    Published on
    Authors
    koskila

    ILogger binding suddenly failing for Azure Functions - what to do?

    This article explains another fun issue that you might run into when developing Azure Functions in your local environment. It was weird how unclear the few results were that I could find. And the issue is just... very hazy in general. But I was able to track the issue down, and thought I'd document the solution :) It's for myself, really, because I'm pretty sure I'll run into this one again. But if you find it useful, good for you! 😉 Problem So what is it that is failing?
  • Cover image for "dotnet ef script" or "Script-Migration" producing empty .sql files?
    Published on
    Authors
    koskila

    "dotnet ef script" or "Script-Migration" producing empty .sql files?

    Another day, another issue. This time, I was absent-mindedly following the guidance for a project on how to generate .sql files for .NET EF Core code-first migrations. Don't ask why that was required, but it was. My migration was simple. Adding an entity with just a few properties. And Entity Framework created my programmatic migration just fine. But when generating the SQL file, I got nothing but an empty file.
  • Cover image for How to fix a 403.18 in a virtual application?
    Published on
    Authors
    koskila

    How to fix a 403.18 in a virtual application?

    Another day, another issue - this time with an on-premises environment with a ridiculously complicated architecture and an absolute ton of pipelines. There are plenty of ways to fix this particular issue (because there are plenty of reasons), and after ferocious googling (and a very brief binging just to see if Microsoft had found something Google hadn't), the trail ran cold and I felt like nobody had run into the same issue before.
  • Cover image for GitHub Action fails with "The GITHUB_TOKEN environment variable was not set"
  • Cover image for How to download audio files from Vidyard
    Published on
    Authors
    koskila

    How to download audio files from Vidyard

    Today, I'm documenting a simple way to download audio files from Vidyard. This approach only works for files that aren't password-protected or behind authentication - I don't think you can use it easily for nefarious stuff, but just in case you're trying to commit some kind of IP theft (intellectual property), please don't. And definitely do not ask for instructions in the comments section :) Anyway - why did I take up this task? What did I want to achieve, in order to need... This?
  • Cover image for Visual Studio Code fails when running "git pull" for a new project
    Published on
    Authors
    koskila

    Visual Studio Code fails when running "git pull" for a new project

    This article describes a simple fix to an issue (well... One or many possible issues), where git fails to pull anything from remote, throwing instead an error somewhat like this: fatal: no such branch: 'master' Bah. This stops you from pulling any new changes from remote, and likewise, it will stop you from pushing your new stuff out there. Always something going wrong with git, right? But what is the reason this time exactly? Problem So there I was, just following a guide on docs.microsoft.com.
  • Cover image for How to form a parameterized SQL query to find duplicates in a table.
    Published on
    Authors
    koskila

    How to form a parameterized SQL query to find duplicates in a table.

    So one day, I needed to quickly check if an identity field in a view in a Microsoft SQL Server was actually unique or not. I was running into weird issues with Entity Framework throwing an error somewhat like this: Store update, insert, or delete statement affected an unexpected number of rows (2) Or somewhat like this: Type: DbUpdateConcurrencyExceptionStore update, insert, or delete statement affected an unexpected number of rows ([row count]).
  • Cover image for How to serialize to JSON in camelCase using .NET Core?
    Published on
    Authors
    koskila

    How to serialize to JSON in camelCase using .NET Core?

    This article describes how to configure your .NET Core application to serialize objects in camelCase instead of PascalCase. I guess this is another quick note - something that should be simple, but I couldn't remember how to do it from the top of my head, and the solution turned out to be a bit unintuitive. I guess that makes it worth documenting because I'll definitely run into this again. Anyway - let's take a closer look at the actual issue at hand, shall we?
  • Cover image for Home Assistant - Quick and dirty fixes
    Published on
    Authors
    koskila

    Home Assistant - Quick and dirty fixes

    This article documents the quick and dirty fixes and patches that I have found for Home Assistant. I'm trying to document all the things that are not complicated enough to warrant an actual blog post themselves somewhere, and this page is as good a place as any. Hopefully, these tips end up being helpful to someone else as well!
  • Cover image for How to secure your WebSocket connection using .NET Core?
    Published on
    Authors
    koskila

    How to secure your WebSocket connection using .NET Core?

    This article explains how to easily authenticate your WebSocket connections using .NET Core and vanilla JavaScript. The same concept probably applies to all sorts of front-end libraries, although some of them might offer some syntactic sugar on top of it. But it's simple, and keeping your implementation simple is generally speaking a good idea. So - this one came up when developing a simple API that'd expose a WebSocket endpoint for seamless notifications to the Web UI.
  • Cover image for No way to renew a ClimaCell API subscription - what to do?
    Published on
    Authors
    koskila

    No way to renew a ClimaCell API subscription - what to do?

    One day I suddenly realized that my Home Assistant's ClimaCell integration had stopped working. That was weird - it had been running just fine for a while. I had signed up for a ClimaCell developer account at developer.tomorrow.io (or whatever the address was before rebranding from ClimaCell to Tomorrow.io - but this is the portal that I used) on the 28th of July, perhaps in 2020, or perhaps 2019. And it had worked brilliantly so far, but suddenly and without warning, it just stopped working.
  • Cover image for HttpContext.WebSockets.IsWebSocketRequest always null in .NET Core?
    Published on
    Authors
    koskila

    HttpContext.WebSockets.IsWebSocketRequest always null in .NET Core?

    This article explains another simple fix to an annoying issue. I guess that's how I start most of my little tutorials, but hey, it's true! I suppose I just have a knack for running into issues that come with poorly documented fixes or workarounds that are obvious but only in hindsight... Right? Anyway, this time my WebSocket requests were not being handled as such by my ASP.NET Controllers. "IsWebSocketRequest" was suggested by IntelliSense, but it would always be null in the code.
  • Cover image for Docker-compose fails on Windows with "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')"
    Published on
    Authors
    koskila
    Tags
    docker

    Docker-compose fails on Windows with "Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')"

    Once again, I come to you with a surprisingly opaque problem and offer to share my bemusingly simple solution. That should be a dedicated series on my blog - although on second thought, perhaps lobbing 90% of my articles under one tag wouldn't be helpful... 😁 Problem When running docker-compose up the command would fail, and instead, output a disgustingly long set of what looks like a whole pile of pythons engaging in quantum entanglement, that would angrily hiss at you if bothered.
  • Cover image for Azure DevOps suddenly 404s for your project? Easy fix!
    Published on
    Authors
    koskila

    Azure DevOps suddenly 404s for your project? Easy fix!

    This article explains a quick solution to a pretty common Azure DevOps problem. Namely - random and annoying 404 (or sometimes 401) errors when trying to access your dear team projects. I forgot to take screenshots of the errors and couldn't figure out how to reproduce them, but hey, the fix is the main point, right? 😀 If you've ended up on this page, you've probably encountered the issue already, so why would you care about the screenshots anyway. Solution Ok, so this is a pretty easy one.
  • Cover image for How to fix "Cannot read property 'map' of undefined (structured-data-blocks)"
    Published on
    Authors
    koskila

    How to fix "Cannot read property 'map' of undefined (structured-data-blocks)"

    So, once again, I find myself wasting time trying to fix WordPress . Though it is a powerful platform, it's a never-ending source of grief when trying to maintain a site with a non-trivial number of plugins. Working with a static website creator would be much more fun, and there is a good chance that the site would stay up far more, but it would take considerable effort to set up Hugo or Gatsby - but we'll see. We'll see. Anyway, this time I had 2 issues with WordPress - both related to Yoast!
  • Cover image for How to update application settings of an Azure Functions App in Azure DevOps Pipeline
    Published on
    Authors
    koskila

    How to update application settings of an Azure Functions App in Azure DevOps Pipeline

    This article aims to patch one annoying gap in Microsoft's documentation: how, exactly, do you update Azure Function App's application settings using an Azure DevOps build/release pipeline? It sounds easy, and something that should happen almost automatically - and for Azure Web Apps (or App Services, as they are often called) it IS practically automatic. But for Azure Functions, it isn't. And the docs aren't perfect. Let me try and fix that. Problem Azure Functions won't take your appsettings.
  • Cover image for How to test a WebSocket connection in browser?
    Published on
    Authors
    koskila

    How to test a WebSocket connection in browser?

    This article documents a neat and simple way to establish and test a WebSocket connection, using just vanilla JavaScript and your favorite browser's developer tools. Quick and easy - no external tools or libraries required! This is neat because you don't want to have your information (credentials, hostnames, or even test data) leaking to outsiders hosting the tools - and using any external tools can be a bit of a drag anyway!
  • Cover image for Azure DevOps throwing "Unexpected token < in JSON at position 4"
    Published on
    Authors
    koskila

    Azure DevOps throwing "Unexpected token < in JSON at position 4"

    This article documents one of the simplest solutions to one of the simplest issues you might ever encounter with Azure DevOps. Still: it's a pretty annoying one, and the solution - as simple as it is - seems worth documenting for the next time I'm googling this fervently as I'm afraid of losing my unsaved changes again...
  • Cover image for How to copy a table in Microsoft Word (Office app)?
    Published on
    Authors
    koskila

    How to copy a table in Microsoft Word (Office app)?

    This article will document a super simple solution to an infuriating and stupid issue you might run into in Microsoft Office Word. Or maybe you might not, but I did. Can you tell I'm just sharing my own pains and whatever I needed to google and didn't find a solution for? Yeah, another one of these. But hey - maybe that'll be useful to someone else, too! Problem Long story short - copy-pasting this: Becomes this: WHAT - that's not a table. That's just weirdly spaced text in neat-ish columns.
  • Cover image for How to (easily) move data between SQL databases
    Published on
    Authors
    koskila

    How to (easily) move data between SQL databases

    Every now and then, you will run into a situation where you need to overwrite a database's contents with those of another database. Maybe you'll need to update a staging environment with a partial data import from production, or perhaps you have a new developer coming in who needs some data - I don't know. But this should be a run-of-the-mill action. Something you can do in a minute. The bottom line is - this shouldn't be complicated. And it should be documented really well.
  • Cover image for How to fix a Logic App deployment that failed with error "UsageConfigurationNotSupportedInSubscription"?
    Published on
    Authors
    koskila

    How to fix a Logic App deployment that failed with error "UsageConfigurationNotSupportedInSubscription"?

    This article explains a quick and dirty fix when you get an error somewhat like this: "UsageConfigurationNotSupportedInSubscription" when you're deploying an Azure Logic App from a template. The same fix will probably apply to a number of other issues - but don't hold me accountable for this :) Anyway - on to the topic of the day! Problem Can you tell by some of my recent blog posts that I've been deploying a few Logic Apps recently?
  • Cover image for How to add an user or group to multiple Azure resources at once?
  • Cover image for Solving "Unable to find repository 'https://www.powershellgallery.com/api/v2'."
    Published on
    Authors
    koskila

    Solving "Unable to find repository 'https://www.powershellgallery.com/api/v2'."

    So, you're running a PowerShell command that requires a connection to PowerShell gallery, but you run into an error message, somewhat like this: "Unable to find repository 'https://www.powershellgallery.com/api/v2'. This can happen when you're running something like Install-Module or Update-Module . This pretty much blocks you from doing anything that would require the use of new modules - so, quite a lot. Worth fixing, then.
  • Cover image for How to move your Microsoft PowerAutomate Flow to Logic Apps?
    Published on
    Authors
    koskila

    How to move your Microsoft PowerAutomate Flow to Logic Apps?

    This article explains how you can export a Microsoft Power Automate Flow from, well, Microsoft Power Automate, and nicely and easily import it to Azure Logic Apps. I'll explain the process step-by-step, and also explain solutions to a few hurdles you might run into! But first, let's take a look at why you might want to consider taking this step in the first place, shall we? Why move to Logic Apps? Ah, a valid question.
  • Cover image for Resolving an incredibly pointless struggle with RCC
    Published on
    Authors
    koskila
    Tags
    rcc

    Resolving an incredibly pointless struggle with RCC

    Okay, this might be my least general, and overall most pointless article ever, but I felt the need to document it anyway. Maybe it'll help someone with a similar gadget, despite being a bit off-topic on this blog. Apologies to any regular visitors! So, what am I talking about, then? Recently I bought a radio-controlled projector clock as a gift for my wife.
Whitewater Magpie Ltd.
© 2026
Static Site Generation timestamp: 2026-06-15T19:26:07Z