[BUG] TokenHandling class now verbose logs Graph access token to the console #3350
Closed
1 task done
Labels
bug
Something isn't working
Reporting an Issue or Missing Feature
As of 2.2.0, we have noticed that when deploying a provisioning template, an access token is output to the console (we verbose log by default to help with potential troubleshooting).
powershell/src/Commands/Base/TokenHandling.cs
Line 84 in 38a9c74
Expected behavior
Maybe this was an intentional change, but my expectation would be that no token that could be used to make unauthorized calls is ever output to the console.
Actual behavior
Graph access token is output to the verbose console log.
Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
2.2.0
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: