Skip to main content

Questions tagged [pnp-powershell]

PowerShell commands that allows you to perform complex provisioning and artifact management actions towards SharePoint. The commands use CSOM and can work against both SharePoint Online as SharePoint On-Premises.

0 votes
0 answers
24 views

Describe the scenario We are working on a SharePoint 2016 → SharePoint Online migration project and need to modernize publishing pages (including blog pages and web part pages) as part of the ...
Pallavi Gl's user avatar
0 votes
0 answers
36 views

I need to migrate SharePoint 2016 on-premises publishing pages to SharePoint Online, in the process transforming them to Modern pages. Prior to September 2024 the general approach was like the start ...
Paul's user avatar
  • 1
0 votes
0 answers
27 views

Morning All, Using PnP PowerShell how can I find the sharepoint group(s) assigned to a specific folder? I thought the following code would work but it doesn't: #Get the WorkSet folder from URL $...
Grot's user avatar
  • 1
0 votes
0 answers
17 views

I want to get a better handle of Set-PnPFolderPermission and Set-PnPListItemPermission. What are experienced PnP PowerShell programmer's take on the differences between Set-PnPFolderPermission and Set-...
Grot's user avatar
  • 1
0 votes
0 answers
50 views

I'm trying to get the below powershell script to work but getting this error : The term 'Get-PnPRoleAssignment' is not recognized as a name of a cmdlet It seems this command does not exist and if not ...
naijacoder's user avatar
  • 4,368
0 votes
1 answer
29 views

Using Get-PnPListItemVersion i'm trying to get values from a SharePoint multi-choice lookup column but i'm having difficulty inspecting the field returned by Get-PnPListItemVersion $versions = Get-...
neptr's user avatar
  • 113
1 vote
1 answer
344 views

I am facing error:"Forbidden (403): Insufficient privileges to complete the operation." while executing command $groupObj = Get-PnPMicrosoft365Group | Where-Object {$_.DisplayName -eq $group}...
Swetha's user avatar
  • 409
0 votes
1 answer
92 views

I'm looking for a way to import a sharepoint list of a sharepoint site and export it into another destination. I looked at this Powershell PnP commands I don't want the CopyList as i need to have the ...
naijacoder's user avatar
  • 4,368
0 votes
1 answer
59 views

Any ideas why this code is not executing as expected? I tried adding a sleep after the Copy-PnPList but still didn't work. try { #Connect to the template site $templateSiteConnection =...
SPGrunt's user avatar
0 votes
0 answers
34 views

Here is my script, but I cant capture file versions. #Config Variables $TenantAdminURL = "https://admin.sharepoint.com" $CSVFilePath = "C:\Temp\RESTART.csv" #Get the Root Web #$Web ...
Nightwing2099's user avatar
0 votes
0 answers
72 views

I'm trying to find an archiving solution for my company that's easier than using the GUI and scrolling through large amounts of files and folders and manually using the Move To button. I have written ...
user124837's user avatar
0 votes
0 answers
28 views

I'm following this tutorial to copy some fields into other fields in my list. Overall it is working great, but when I copy a user field sometimes the pnp powershell throws "WARNING: No values ...
Rothrock's user avatar
  • 1,602
0 votes
1 answer
91 views

I have 2 tenants; Source & Destination. I export the site from source and try to invoke it inside the destination, but it failed, here are the steps i followed:- Connect-PnPOnline -Url "...
microsoftdeveloperdesigner's user avatar
0 votes
1 answer
486 views

I want to copy one site collection from one tenant to another, so on the source tenant, I created this App Registering and I grant it full control on SharePoint:- And I define to use secret for the ...
microsoftdeveloperdesigner's user avatar
0 votes
1 answer
96 views

I am using PnP.Powershell version 2.12.0. I am trying to set values of two new managed metadata columns in a list using values from other columns. But I keep getting the following error: Cannot bind ...
Dan's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
53