Tag Archives: Azure Key Vault

Connect-PnPOnline with a certificate stored in Azure Key Vault

Scenario You run some PnP PowerShell code unattended e.g. daemon/service app, background job – under application permissions – with no user interaction. Your app needs to connect to SharePoint and/or Microsoft Graph API. Your organization require authentication with a certificate (no secrets). You want certificate stored securely in Azure Key Vault. Solution (Step-by-step process) Obtain […]