Microsoft Graph: Get an Access Token from a PowerShell Session

Note: All my stories can be read for free on my personal blog. This story was originally published on June 5 2024 on my personal blog.