Quantcast
Channel: SharePoint Online – SharePains by Pieter Veenstra
Viewing all articles
Browse latest Browse all 138

Office 365 – PnP – SharePoint – Add-SPOFile – format-default : The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.

$
0
0
Today I tried to upload a document to SharePoint Online using the Add-SPOFile command from the PnP PowerShell. Add-SPOFile -Path $path/DocumentTemplates/MyTemplate.docx -Folder DocumentTemplates -Web $web -Values @{Title=”MyTemplate”;FileLeafRef=”MyTemplate.docx”} This resulted into format-default : The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be … Continue reading Office 365 – PnP – SharePoint – Add-SPOFile – format-default : The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.

Viewing all articles
Browse latest Browse all 138

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>