Shane Bartholomeusz

Geek and lover of all things tech related

Tag: Azure (page 1 of 3)

How to: Use GitHub Actions with OIDC to Authenticate with Azure

Overview

Deploying resources to the cloud through deployment pipelines requires the need to authenticate with the various cloud providers in a standardised and secure manner. GitHub Actions offers the ability to authenticate with Azure using OpenID Connect (OIDC).

In this post, I’ll guide you through the process of setting up OpenID Connect (OIDC) authentication with Azure and GitHub Actions.

GitHub Actions Logo
Continue reading

Solved: Azure Functions There is not enough space on the disk

Overview

Azure Function Apps allow developers to build and deploy event-driven applications in the cloud. However, as with any software we can sometimes run into unusual issues, in particular, I recently ran into the below error when trying to deploy an Azure Function App through a GitHub Actions CICD pipeline.

If you have also encountered this issue, then you are in luck, because in this article we’ll explore the cause of this error and how I solved the issue.

“Internal Server Error (CODE: 500)”

“There is not enough space on the disk.”

Continue reading

Solved: Cognitive Services – Operation returned an invalid status code ‘Unauthorized’

Problem

The Azure Cognitive Services SDK is a set of pre-built services that enable developers to easily and quickly integrate AI capabilities into their applications. It provides a wide range of cognitive services including computer vision, language understanding, speech, and search APIs.

Recently whilst using the Azure Cognitive Services SDK recently, I encountered the below error while trying to consume the Cognitive Services Computer Vision API using the Dotnet SDK.

If you’ve also encountered the same error then you are in luck, because in this post I’ll share the solution that worked for me.

Operation returned an invalid status code ‘Unauthorized’

Continue reading

Solved: Azure Functions Can’t Bind Parameter ‘data’ to Type Error

Problem

Recently I came across an unusual error whilst working with C# Azure Functions. When the Function was executed, the console window showed the following error.

The ‘XXXXXX’ function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method ‘XXXXXX ‘. Microsoft.Azure.WebJobs.Host: Can’t bind parameter ‘data’ to type ‘XXXXXX’.

I checked the Activity function parameter bindings however couldn’t see any obvious issue. However after some head scratching I eventually figured out the source of the issue …

In this post I’ll show you how to resolve this issue.

Azure Functions Logo
Continue reading

How to: Deploy Azure Functions Using Github Actions

Overview

GitHub has really opened the doors for collaboration across the wider software development community. If you are already using GitHub then it makes sense to make the most of the GitHub ecosystem and use of all of it’s available features, including GitHub Actions; a powerful workflow engine that enables developers to automate repetitive tasks.

In this post I’ll show you how you can deploy an Azure Function using a GitHub Actions workflows, and by the end of this guide, you’ll have a fully working automated deployment pipeline setup.

Please note that this guide assumes that you are already familiar with using Azure Functions and using GitHub for basic source control management.

Banner image
Continue reading

How to: Implement Azure Web App Authentication – The Easy Way

Overview

Let’s face it … security is HARD. Implementing authentication and authorization into applications has always been a challenge and a chore for developers. Building a secure application requires strong knowledge across a number of areas.

Thanks to the power of Easy Auth on Microsoft Azure it’s easier than ever to setup secure authentication for your web application with the click of a few buttons… Yep, I’m not kidding!

Ok let’s get started …

Azure App Service Logo
Continue reading

AZ-204 Exam Study Guide (Developing Solutions For Microsoft Azure)

Overview

The AZ-204 (Developing Solutions for Microsoft Azure) exam is tailored to Microsoft developers working on the Azure cloud platform.

Having recently passed the AZ-204 exam I wanted to share my thoughts and insights in this AZ-204 Exam Study Guide to help you pass the exam.

AZ-204 Exam Badge
Continue reading

Azure CRON Expression – Cheat Sheet

Overview

If you’re an avid user of the Microsoft Azure cloud, you might have come across CRON expressions for defining schedules.

The CRON expression format originates from Unix-based systems, where it has been used for quite some time. While it is a powerful syntax for expressing schedules, it can sometimes be a bit confusing.

This article will provide you with a quick cheat sheet for using CRON expressions in Azure.

Azure Logo
Continue reading

How To: Create PDF Email With Power Automate

Overview

Do you have a need to generate emails with PDF attachments using the Power Automate (aka Microsoft Flow) workflow engine?

Guess what! You’re in luck because in this post I’ll show you how to do exactly that. I’ll show you how to generate a PDF document and send it via email.

Power Automate Logo
Continue reading

Meet the Azure CLI

Overview

There are numerous ways to manage your Azure resources, including the web-based Portal, the Azure Cloud Shell, API’s.

In this post I’ll be focusing on the Azure Command Line Interface (or CLI).

Azure Logo
Continue reading
Older posts

© 2024 Shane Bartholomeusz

Theme by Anders NorenUp ↑