Hi.
Can you add the output of the errors in Get-AccessToken.ps1? Now there is only write-warning in the catch, but there is no -erroraction stop in the write-warning line, or throw $error, so when I use the try and catch in my script for Get-AccessToken, it didn't catch any errors in the script. See screenshot.
