When provisioning a site page which contains an Events web part with a PnP provisioning template to Team site (not Communication site), the Events web part is broken.
We tried exporting an existing Team site page with an unconfigured Events web part and using the generated code in our PnP provisioning template.
It seems that the web part is looking for the list ID, but the Events list is not initially created on a Team site. Adding an Events web part manually to a page works fine, even if an Events list does not exist on the Team site; this error only happens when the Events web part is provisioned to a page.
What we expect:
We would expect that the Events web part would be added to the page as if you were adding one manually, without it being broken.
Steps to reproduce:
On a Team site, add the Events web part to a page
Run a PnP.PowerShell script to export the page contents to a PnP provisioning template: