Hi, want to export SharePoint site template withGet-PnPProvisioningTemplateand get "File not found" during export. It is strange because about a month ago my script worked like a harm. I tried it also withSharePoint Online Management Shelland get the same error....
$context.LoadandExecuteQuerydoes the trick$file.Levelis loaded. However if usingGet-PnPFileorGet-PnPListItemtheLevelattribute seems to not be loaded. I didn't find a way to include more fields besides using the full execute query. Maybe a bug / feature request?