#SharePointProblems | Koskila.net

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

Posts from April 2019

Blog posts published in April 2019

Posts from April 2019 (6)

  • Cover image for Speaking at SPS Nashville 6/15/2019
    NEW
    Published on
    Authors
    koskila

    Speaking at SPS Nashville 6/15/2019

    Exciting news to share again! My session on using SPFx to extend Microsoft Teams got accepted to SharePoint Saturday Nashville next June. I'm excited to return to the Music City - it was a lot of fun last time , and I have a new session to present this time! Correction: The title has been fixed - it used to say 6/16, but the event is on 15. SharePoint Saturdays are typically on Saturday 😁 Thanks for pointing that out! What will I be speaking about?
  • Cover image for How to add multiple aliases to a Managed Property in SharePoint Search?
    Published on
    Authors
    koskila

    How to add multiple aliases to a Managed Property in SharePoint Search?

    This article explains how to add multiple aliases to one managed property in SharePoint Search Schema Management. Yes, it's possible, just a bit unintuitive! I'll explain the process below. Solution This seems to be another "gotcha", that's missing from the official documentation, but is super helpful to know when you happen to need it!
  • Cover image for How to fix "Access denied" errors when running "Set-PnPAvailablePageLayouts"?
    Published on
    Authors
    koskila

    How to fix "Access denied" errors when running "Set-PnPAvailablePageLayouts"?

    This article describes one way how to fix seemingly non-sensical " Access denied " errors, that you get when running Set-PnPAvailablePageLayouts . Problem While running the PnP cmdlet for enabling or selecting the available publishing page layouts for a web, you run into this, fairly generic error: Access denied. You do not have permission to perform this action or access this resource.
  • Cover image for How to access Entity Framework Core's DbContext in an Azure Function?
    Published on
    Authors
    koskila

    How to access Entity Framework Core's DbContext in an Azure Function?

    This post describes how you can access your Entity Framework Core model classes and the database context in your Azure Functions. In my example I'm using EF Core 2.1, but the main principle should be the same for later versions as well. Please note, that I use Azure functions runtime v2 (but it should work the same in v3 !) Another easy one, that I was unable to find much guidance on! But first, let's start with the basics. Why would you want to have this setup?
  • Cover image for Another fix to the "Connect-PnPOnline : The sign-in name or password does not match one in the Microsoft account system." error.
    Published on
    Authors
    koskila

    Another fix to the "Connect-PnPOnline : The sign-in name or password does not match one in the Microsoft account system." error.

    This post describes a simple way to get around the following error while running Connect-PnPOnline: "The sign-in name or password does not match one in the Microsoft account system." Truthfully, this one is kind of simple and stupid - but as I've seen before, it's surely worth documenting anyway! Below is an example of such an error. PS C:\> Connect-PnPOnline https://contoso.sharepoint.
  • Cover image for Sudden "Function compilation error" for an Azure Function
    Published on
    Authors
    koskila

    Sudden "Function compilation error" for an Azure Function

    Welp - another interesting error encountered while deploying Azure Functions to Azure. So, everything runs nicely locally, but when you deploy your well-tested, functional and pretty code to run them in the cloud, you'll just get these ugly and unfriendly errors. Long story short, " Function compilation error " is what you're faced with. Example error below: Function compilation error Microsoft.CodeAnalysis.Scripting.CompilationErrorException : Script compilation failed.
Whitewater Magpie Ltd.
© 2026
Static Site Generation timestamp: 2026-02-03T09:01:56Z