-
Notifications
You must be signed in to change notification settings - Fork 393
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Notice
I am trying out 1,PnP.PowerShell and 'Get-PnPProperty' fails for all the new PnP objects. Is this work in progress or this cmdlet will be deprecated?
Expected behavior
Return the property or document that this is not supported.
Actual behavior
Get-PnPProperty: Cannot bind parameter 'ClientObject'. Cannot convert the "PnP.PowerShell.Commands.Model.SPOSite" value of type "PnP.PowerShell.Commands.Model.SPOSite" to type "Microsoft.SharePoint.Client.ClientObject".
Steps to reproduce behavior
$cui = Connect-PnpOnline -url 'https://x.sharepoint.com/sites/test' -ClientId 'xyz' -ClientSecret 'abc' -ReturnConnection
$ten = Get-PnPTenantSite -Connection $cui -Url 'https://x.sharepoint.com/sites/test'
Get-PnpProperty -Connection $cui -ClientObject $ten -Property 'Template'
What is the version of the Cmdlet module you are running?
1.3.14-nightly
Which operating system/environment are you running PnP PowerShell on?
- [ x] Windows
- [ x] Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working