pnp / powershell

PnP PowerShell
https://pnp.github.io/powershell
MIT License
684 stars 349 forks source link

Updating verbose token permission validation #4368

Closed KoenZomers closed 1 month ago

KoenZomers commented 1 month ago

Type

Related Issues?

N/A

What is in this Pull Request ?

Updating the oauth permission validation shown when using -Verbose on cmdlets to support sovereign clouds and not to throw an exception when the permission check fails, but rather show a warning instead.

Sample:

Delegated login with verbose image

App only login with verbose image

App only login without verbose image

SharePoint CSOM calls image