Configuring the CLI for Microsoft 365 in Azure Functions
Image Source: Shutterstock.com
Developer Tools
Jun 24, 2023 9:00 PM

Configuring the CLI for Microsoft 365 in Azure Functions

by HubSite 365 about Martin Lingstuyl [MVP] (Home on Blimped)

Microsoft MVP | Microsoft 365 Architect @I4-YOU | Co-maintainer at CLI for Microsoft 365 (PnP) | Blogger ✍️ | Family man 👨‍👩‍👧‍👦 | Cyclist 🚴‍♂️

Citizen DeveloperDeveloper ToolsLearning Selection

It’s been some time ago that I wrote a series of blog posts on running the CLI for Microsoft 365 in Azure Functions running on the PowerShell stack. The CLI has

Configuring the CLI for Microsoft 365 in Azure Functions It's been some time ago that I wrote a series of blog posts on running the CLI for Microsoft 365 in Azure Functions running on the PowerShell stack. The CLI has evolved in the meantime. This and my own experiences prompted me to write a fourth post in this series.


Link to this section Table of Contents

  • Part 1 - how to run a CLI for Microsoft 365 script on an Azure Function
  • Part 2 - Getting notified of service incidents in Microsoft Teams
  • Part 3 - Getting notified of changes in guests accessing SharePoint
  • Part 4 - Configuring the CLI for Microsoft 365 in Azure Functions (This blog)

How to optimally configure the CLI on an Azure Function:


More Information on Configuring the CLI for Microsoft 365 in Azure Functions

The main topic of this series of blog posts is to help users configure and use the CLI for Microsoft 365 in Azure Functions. The primary objective is to guide users through the process of running Microsoft 365 scripts on Azure Functions, getting notified of service incidents, and being aware of changes in guest access to SharePoint. This information is crucial for administrators to maintain security and operational efficiency in their Microsoft 365 environment.

Read the full article Configuring the CLI for Microsoft 365 in Azure Functions

Learn about Configuring the CLI for Microsoft 365 in Azure Functions

The fourth post in a series on running the CLI for Microsoft 365 in Azure Functions is about configuring the CLI for optimal performance. This post discusses how to configure the CLI to ensure that the Azure Function runs optimally. It covers topics such as setting up the environment, setting up the CLI, and configuring the CLI to enable efficient execution. Additionally, the post explains how to use the CLI to monitor service incidents in Microsoft Teams, changes in guests accessing SharePoint, and other related topics. Furthermore, the post provides instructions on how to adjust the CLI’s configuration to ensure that the Azure Function runs efficiently. Finally, the post provides tips on how to troubleshoot and debug any potential issues with the CLI.

More links on about Configuring the CLI for Microsoft 365 in Azure Functions

How to run the CLI for Microsoft 365 on an Azure Function
Aug 16, 2022 — Usually (on your local machine) you would install the CLI for Microsoft 365 as a global npm package, running: npm install @pnp/cli-microsoft365 ...
Connect an Azure Function to Office 365 - GCIT
Before we do this, we'll set up the Azure function to connect to Office 365, ... Open PowerShell on your computer, then run the following command.
Deploy Common Office 365 Dev Resources Using Azure CLI ...
Oct 6, 2019 — This post is about using the Azure CLI and the PowerShell Az Cmdlets to produce local and Azure based resources for a common Office 365 ...
How to access Azure Function App settings from Azure CLI
Nov 1, 2018 — In this article we will see how to access your Azure portal especially Azure functions app settings from your machine using Azure CLI ...
3 ways to create and debug Azure Functions – CLI, VS ...
Oct 4, 2018 — Option 1 - with Azure Functions Core Tools/CLI · Create a folder for the function you'll create, and open a command prompt there. · Type func init ...
How to use PnP PowerShell on Azure Functions with ...
Feb 27, 2023 — In this article, we'll authenticate to SharePoint Online from an Azure Function App using PnP PowerShell and a self-signed certificate.

Keywords

Microsoft 365 CLI, Azure Functions, PowerShell, CLI Script, Service Incidents, SharePoint Guests