How to return a custom HTTP status code using WebAPI 2

When developing a RESTful API we sometimes need to return an HTTP status code that is not included in Microsoft's HttpStatusCode enumeration. For example this is the case for HTTP 423 (Locked) and others. This post will give you an example on how to return such a custom HTTP status…

How to assign licenses to groups instead of users

While playing around with the Azure Licenses blade inside Azure Active Directory I was wondering why on earth I am not able to assing licenses to groups. Every time I clicked on Licensed groups and then on + Assign I only saw a list of users, without being able to…

How to properly pass a SAS token argument to the Azure CLI

While playing around with the Azure CLI and Powershell Core 7.0 I encountered a strange situation, when trying to pass a SAS token to a parameter. This was the offending command az storage blob show --container-name <container name> --name training.txt --account-name <account name> --sas-token…