How can I authenticate PnP PowerShell to SharePoint from an Azure Automation Runbook using Managed Identity?
I'm trying to authenticate to SharePoint from an Azure Automation Runbook with PnP PowerShell and a managed identity, but every approach I've tried returns 401 Unauthorized. We created…