Replies: 3 comments 2 replies
-
+1 You can "Invoke-PnPSiteTemplate" from a URL, it would be great to have the same feature for "Invoke-PnPTenantTemplate" I want to store all tenant templates in a SPO list and use them from an Azure Function without having to copy them to the Azure function blob storage first.... |
Beta Was this translation helpful? Give feedback.
-
I was trying to use the
Tried Any ideas as to how can we manage change in the templates that are stored in a SPO library???? @erwinvanhunen - Is " If the template HAS to be in the function app root blob, then is there an easy way of copying the template file from SPO to the Azure function. I have tried using |
Beta Was this translation helpful? Give feedback.
-
@BaronSparky I used the below as a workaround and worked for me. In summary, create a folder outside of the Function (under site root folder) and download the file from SharePoint. The folder for templates is located outside of the Function itself as we don't have write permissions on the Function folder $TEMPLATESPATH = "$PSScriptRoot/../../ProvisioningTemplates" But this is a workaround...would be awesome to be able to reference the template by URL :) |
Beta Was this translation helpful? Give feedback.
-
Is there any way currently to run Invoke-PnPTenantTemplate using Azure Functions without storing template in blob storage?
Beta Was this translation helpful? Give feedback.
All reactions