Closed jackpoz closed 4 years ago
Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/pnp/PnP-PowerShell/blob/dev/CONTRIBUTING.md
Improves the troubleshooting of #2879
This PR improves the error messages displayed when a valid certificate cannot be loaded from the given path.
Handled cases:
The path is a folder (before it would say "Access to Path 'C:\Temp' is denied")
The path doesn't exist at all
The path is an empty file (before it would say "Array may not be empty or null")
Thanks!
Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/pnp/PnP-PowerShell/blob/dev/CONTRIBUTING.md
Type
Related Issues?
Improves the troubleshooting of #2879
What is in this Pull Request ?
This PR improves the error messages displayed when a valid certificate cannot be loaded from the given path.
Handled cases:
The path is a folder (before it would say "Access to Path 'C:\Temp' is denied")
The path doesn't exist at all
The path is an empty file (before it would say "Array may not be empty or null")
Guidance