pnp / PnP-Sites-Core

Microsoft 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.
Other
416 stars 642 forks source link

Install-PnPApp writes error but does not throw error, so can't trap #2323

Open CombineLabs opened 5 years ago

CombineLabs commented 5 years ago

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. If you have a actual question, we would ask you to use SharePoint Developer Group at Microsoft Tech Community. Thanks!

Which PnP repository should you use to report the issue?

Please navigate to the appropriate repository by clicking on the link below and create your issue there. You can delete this section after you have navigated to the correct repository.

SharePointPnPPowerShellOnline\3.11.1907.0\SharePointPnPPowerShellOnline.psd1

Category

[x ] Bug [ ] Enhancement

Environment

[x ] Office 365 / SharePoint Online [ ] SharePoint 2016 [ ] SharePoint 2013

If SharePoint on-premises, what's exact CU version:

Expected or Desired Behavior

Install-PnPApp should throw error on error

Observed Behavior

Install-PnPApp will write error but not throw error

Steps to Reproduce

Install-PnPApp on site with app already installed

Submission Guidelines

Delete this section after reading

Thanks for your contribution! Sharing is caring.

ghost commented 5 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.