Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Apply-PnPTenantTemplate error handling #1909

Open
bryanhart73 opened this issue Jul 19, 2020 · 0 comments
Open

Apply-PnPTenantTemplate error handling #1909

bryanhart73 opened this issue Jul 19, 2020 · 0 comments

Comments

@bryanhart73
Copy link

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.

Category

[ ] Bug
[X] Enhancement

Environment

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

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

Expected or Desired Behavior

If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please
describe thoroughly the enhancement, how it can be achieved, and expected benefit.

Currently there is no reliable way to programmatically determine if a tenant template has been applied in full using PowerShell.

Observed Behavior

If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.

Enclosing in a try/catch does not work as many internal errors don't bubble up exceptions. Attempting to trap based on the global $Error variable doesn't work as a number of internal errors that are handled by retries do bubble up this way and you cannot tell if the error was fatal.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant