In this post, we look at a GitHub Action that creates an event in a user’s Outlook calendar with Microsoft Graph using MSAL for Node.

In a related post published previously, I have explained how we can do the same using PnP JS. In this post we will be modifying that approach to use MSAL for Node instead of PnP JS.

Example scenario

An example usage might be — when a pull request is submitted in the MAIN branch on the GitHub repository, an event is created in the repository owner’s calendar on the next day which contains the details of the…


In this blog post we will have a look at one of the setup options for remote SPFx related development which involves connecting to an Azure VM using the VS code “Remote-SSH” extension.

Note: The details that we will see below are the ones that I tend to follow for remote development. The approach mentioned is not the only approach. There are several other setup options that can be utilized for remote development.

Setup

In this setup we will be using a Linux based Azure VM. The access/interaction with the VM will not be via GUI. Instead it will all be…


In this short post we will take a look at how to consume the Microsoft Graph API for taxonomy in SPFx web parts. This endpoint is currently in beta.

Taxonomy Graph API

The Microsoft Graph API for taxonomy helps us to perform CRUD operations on the taxonomy data present in our Microsoft 365 tenant. More details about this can be found here.

The taxonomy data can be used in several places for several purposes in SharePoint sites. It helps us in classifying the SharePoint content in such a way that users will be able to get to the content they require faster. Since…


In this post we will have a look at how we can easily copy the settings of the PnP search results web part from one page to many pages with the help of PnP JS in an SPFx extension.

PnP search web parts

PnP search web parts are a set of modern web parts which help us a lot in providing a smooth search experience in modern SharePoint sites. More information about those web parts can be found here.

Editing the settings

In a SharePoint site we can create pages based on a template that might have these web parts on them. Say for example, we might…


In this post we will look at a way to set the author byline (shown in the image below) of a modern SharePoint page using PnP PowerShell.

The script

The script to set the author byline in the header can be found here.

_AuthorByline field

Modern pages have a field called _AuthorByLine. When we set the value of this field of a page to the login name (or the email address) of a user, we will see the user details appear in the page header byline. …


In this post we will take a look at a few different options that we can use, to get an access token so that a daemon application (say client) can communicate with another application (say server). Both client and server applications can be developed as Azure app services and/or Azure function. In this post we will be sticking with Azure functions for both client and server where needed.

Setup

Let’s assume the following setup (in the same tenant) for this post:

  • Client runs on a timer (or it receives requests from end users).
  • Client app runs code to get an access…

In this blog post we will have a look at how we can use GitHub codespaces to do development related to SPFx. The concepts that are mentioned in this blog post run in parallel with the details shared in this brilliant article on Visual Studio codespaces by Paul Schaeflein.

In this 2 part series we will start by looking at:

  1. What GitHub codespaces are and how to create them. After that we create a simple SPFx webpart in GitHub codespaces.
  2. How to push the code of the SPFx webpart from GitHub codespaces to a repository in Azure DevOps.

Part 1 — GitHub Codespaces

What are GitHub codespaces?

GitHub codespaces


In part 1 of this series we saw how to create a GitHub codespace for SPFx development. In this part we will have a look at how to push the code from GitHub codespaces to Azure DevOps. This will be helpful if we are using Azure DevOps to store our code.

The instructions mentioned here can be done for any code in GitHub codespaces. Also the instructions show one of the several ways of push the code to Azure DevOps. So let’s be sure that this is not the only way.

Repository in Azure DevOps

Let’s start by creating a new Git repository in…


.

Introduction

In this blog post we will see 3 different (1 slow and 2 fast) ways of getting data from a table in an excel file using Power Automate. We will start by looking at

  1. a Power Automate flow which uses simple actions but takes long time to run,
  2. then we will look at using a combination of simple actions and Pieter’s method which takes lesser time to run and
  3. finally we will use a couple of HTTP actions along with Pieter’s method which will take only a couple of seconds to run.

Credits

Pieter Veenstra and John Liu write amazing blogs…


In this post, we will see a GitHub Action that creates an event in a user’s Outlook calendar using Microsoft Graph (via PnP js).

An example usage might be — when a pull request is submitted in the DEV branch on the GitHub repository, an event is created in the repository owner’s calendar on the next day which contains the details of the pull request. The owner will get a reminder on the next day at the specified time and then the owner can review the pull request and can the required take action.

GitHub Actions to create event

Set up

Firstly if GitHub Actions are new…

Anoop

SharePoint developer at Content+Cloud.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store