New answers tagged

0 votes

Importing Data from Excel to Sharepoint (External Data field)

It sounds as though your external list has only been configured to display external data, not update it via the SharePoint UI. External content types in SharePoint
user avatar
1 vote
Accepted

Connect-SPOService ... Error "The underlying connection was closed: An unexpected error occurred on a send"

You can use SharePoint Online Management Shell to connect with multi-factor authentication (MFA) enabled SharePoint site using below command: Connect-SPOService -Url https://contoso-admin.sharepoint....
user avatar
  • 28.2k
1 vote
Accepted

Connect-SPOService : The sign-in name or password does not match one in the Microsoft account system

You can use SharePoint Online Management Shell to connect with multi-factor authentication (MFA) SharePoint Site. Connect-SPOService -Url https://contoso-admin.sharepoint.com Follow below ...
user avatar
  • 28.2k
0 votes

PnP PowerShell: Copy existing Modern page into new Template

There is no such function to convert pages and apply template at the same time. You need to convert the pages to modern page. Then you can add template to pages by following script. # SET PAGE NAME $...
user avatar
0 votes

How to filter in PowerShell

Your script is perfectly working. Don't forget to print the contents of your $filteredWebs variable :) You can also use AllWebs method: $webApp = "http://mywebapp.com" $site = Get-SPSite -...
user avatar
0 votes

How to get LastAccessed For SharePoint Site in SharePoint Online?

I would recommend ShareGate, as it's site reporting features are pretty good. As for last accessed date, you may need to delve in to the SharePoint audit logs to find this data. Update: You can also ...
user avatar
1 vote
Accepted

SP Online site collection ID

As per the article SharePoint Online Site Template ID list for PowerShell, template ID for Office 365 Group associated Team Site is GROUP#0 - which is For Reporting Only and you cannot create sites ...
user avatar
  • 28.2k
0 votes

Move entire Library contents with PnP PowerShell

you can get top level files and folders like this: $allDocs = Get-PnPFolderItem -FolderSiteRelativeUrl $yourList | Where {$_.Name -ne "Forms"} This is how I did it. Property lists is array ...
user avatar
  • 1

Top 50 recent answers are included