To authenticate, you'll use the Microsoft Graph PowerShell SDK. If you haven't already installed the SDK, see this guide: https://learn.microsoft.com/en-us/powershell ...