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
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues
Reporting an Issue or Missing Feature
Set $ListName to a document library name
Get-PnPListItem -List $ListName fetches all items in the list
Expected behavior
$ListItems[0]['ID'] returns the item ID.
$ListItems[0]['Id'] does not return the item ID.
According to $ListItems[0] | FL, the correct property name is Id (not ID)
On the same note:
$ListItems[0]['FileRef'] returns the item full path name.
$ListItems[0]['Fileref'] does not return the item full path name.
Are the property names supposed to be case-insensitive?
Actual behavior
See Expected behavior
Steps to reproduce behavior
See Expected behavior
What is the version of the Cmdlet module you are running?
PnP.PowerShell 2.2.0
Which operating system/environment are you running PnP PowerShell on?
This discussion was converted from issue #3385 on September 04, 2023 09:22.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
Invoke-PnPSiteTemplate
orGet-PnPSiteTemplate
? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.Reporting an Issue or Missing Feature
Set $ListName to a document library name
Get-PnPListItem -List $ListName fetches all items in the list
Expected behavior
$ListItems[0]['ID'] returns the item ID.
$ListItems[0]['Id'] does not return the item ID.
According to $ListItems[0] | FL, the correct property name is Id (not ID)
On the same note:
$ListItems[0]['FileRef'] returns the item full path name.
$ListItems[0]['Fileref'] does not return the item full path name.
Are the property names supposed to be case-insensitive?
Actual behavior
See Expected behavior
Steps to reproduce behavior
See Expected behavior
What is the version of the Cmdlet module you are running?
PnP.PowerShell 2.2.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions