powershell
powershell copied to clipboard
PnP PowerShell
### Reporting an Issue or Missing Feature Getting 401 Unauthorized when using a client id / certificate that has assigned "Directory Readers" using Az Role assignment instead of granted API...
Many Remove commandlets of pnp powershell have a `-Force` parameter to skip the confirmation prompt. Some however have a -Confirm option that works the other way around, using `-Confirm:$false` you...
``` $pnpBatch = New-PnPBatch -Connection $conn; ForEach($item in $listItems){ $values = @{"internalField"="UNKNOWN"} Set-PnPListItem -List $list -Identity $item.Id -Values $values -Connection $conn -UpdateType SystemUpdate -Batch $pnpBatch } Invoke-PnPBatch -Batch $pnpBatch -Connection...
**Is your feature request related to a problem? Please describe.** I need to set different permissions to the same item and it takes quite long :-( **Describe the solution you'd...
If possible it would be very helpful to assign Sensitivity Labels on files with PowerShell. **Describe the solution you'd like** Ideally it would be a simple cmdlet like Add-PnPFileSensitivityLabel that...
**Is your feature request related to a problem? Please describe.** When creating a new site, I sometimes need to be able to apply 2 separate Site Designs where the second...
### Expected behavior `Get-PnPUser -WithRightsAssigned` should return the list of users with rights assigned. ### Actual behavior `Get-PnPUser -WithRightsAssigned` times out.  ### Steps to reproduce behavior 1. Connect to...
### Reporting an Issue or Missing Feature Very similar to some earlier bugs related to the Image web part, I'm unable to add images to the Image Gallery web part....
### Reporting an Issue or Missing Feature  ### Expected behavior Every Time i use the Option -Identity with Restore-PnPRecycleBinItem. No difference is it one Item or Multi Items. ###...
When using the -batch parameter with Set-PnPListItem, it fails with the following error: "Cannot find item with Identity PnP.PowerShell.Commands.Base.PipeBinds.ListItemPipeBind" For example, this works (no batching): _$targetFolder = "Path/To/Folder" ForEach ($folder...