Home » Authentication
Whilst running some SharePoint Online PowerShell commandlets, or connecting to a SharePoint Online site from your app, you get the following (or similar) error about your SharePoint Online credentials being unauthorized for something you should definitely be authorized to do: Cannot contact web site ‘https://[tenant]-admin.sharepoint.com/’ or the web site does…Continue reading How to fix “The website does not support SharePoint Online credentials. The response status code is ‘Unauthorized’”
So, a while ago I posted about a fairly simple way to write your code for fetching secrets (and other confidential stuff) from Azure Key Vault in such a way, that it would work the same way both in Azure and on your local dev box. I find this pretty…Continue reading How to update from deprecated Microsoft.Azure.Services.AppAuthentication to new and shiny Azure.Security.KeyVaults.Secrets?
Sometimes you’ll need the default identity for your ASP.NET Core application, but want to disable the registration of new users. Sounds pretty basic, right? However, there’s actually no easy switch you can just flip to enable or disable said functionality. I went through a lot of different articles and ideas…Continue reading How to disable “Register” action in ASP.NET Core?
This post details my very simple solution to an extremely unnecessary and kind-of simple error that I encountered when logging into SharePoint. However, you could run into the same error after configuring Azure Active Directory authentication to a custom web application. The error message comes in at least 2 variants.…Continue reading How to resolve AADSTS90056 – “The endpoint only accepts POST requests. Received a GET request.”
Another day, another unsuccessful authentication attempt, and another cool error code. I encountered his one whilst building a little POC that was supposed to authenticate against Graph API. This time, I was thrown an “AADSTS700054” error… But no worries! This article will explain to you how to fix it, at…Continue reading How to fix “AADSTS700054: response_type ‘id_token’ is not enabled for the application” error
So, you have an error with the code AADSTS50011? That’s ok – it’s just Azure AD‘s authentication acting up because of invalid reply URLs! Most of the time, it’s a simple configuration issue. Since there might be a couple of different reasons for this error, this post also describes a…Continue reading How to fix “AADSTS50011: The reply address does not match the reply addresses configured” -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 Online, and probably a thousand other sites. The error is most of the time something like this: Bad Request – Request Too…Continue reading How to log in to Microsoft’s websites (MSDN forums, Azure Portal, SharePoint Online) when you get a “Bad Request” error?
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.
This post describes how to fix Windows Authentication on a SharePoint server that is failing on other local addresses other than localhost. Symptoms You get the standard Windows/Basic Authentication prompt when accessing your SharePoint site, but the site won’t accept your credentials when you are accessing the site using an address…Continue reading Windows Authentication fails on SharePoint for all hostnames (other than localhost)