SharePoint Online: Get-PnPProvisioningTemplate in Azure DevOps PnP PowerShell RRS feed

  • Question

  • I've been trying to execute:

    Get-PnPProvisioningTemplate -Out  t.pnp

    in a PnP-PowerShell Script task in Azure DevOps. However, I get back the following error:

    Get-PnPProvisioningTemplate : The property or field 'Url' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.

    I've tried different options without success. Please not that the command above runs without issues in PS consul, however not as an Azure DevOps PnP-Powershell task.

    Any advise?


    Monday, August 24, 2020 8:19 AM

All replies