You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is no longer possible to use a site-relative list URL as the -Identity value of Get-PnPList as of version 2.1.1 (haven't checked 2.1.0). The documentation states the site-relative URL of a list should be supported as a value and it used to work with version 1.12.0. Using the list name as -Identity works as expected.
Expected behavior
Executing Get-PnPList -Identity "Lists/MyList" returns the list, if it exists.
Reporting an Issue or Missing Feature
It is no longer possible to use a site-relative list URL as the -Identity value of Get-PnPList as of version 2.1.1 (haven't checked 2.1.0). The documentation states the site-relative URL of a list should be supported as a value and it used to work with version 1.12.0. Using the list name as -Identity works as expected.
Expected behavior
Executing
Get-PnPList -Identity "Lists/MyList"
returns the list, if it exists.Actual behavior
Executing
Get-PnPList -Identity "Lists/MyList"
returns the error message "Get-PnPList: List 'https://tenant.sharepoint.com/sites/sitecoll/Lists/MyList' does not exist at site with URL 'https://tenant.sharepoint.com/sites/sitecoll'.".Executing
Get-PnPList -Identity "My List"
works as expected for the same list.Steps to reproduce behavior
When connected to a site:
Get-PnPList -Identity "Lists/MyList"
(MyList must exist)What is the version of the Cmdlet module you are running?
2.1.1 (was working with 1.12.0), PowerShell 7.3.3 win-x64
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: