Fix “The requested operation is part of an experimental feature that is not supported in the current environment.” Error

Problem: When trying to run a PowerShell cmdlet, got this error message: “The requested operation is part of an experimental feature that is not supported in the current environment.” If a new feature is not yet rolled out for your tenant, SharePoint shows this error. Solution: Set the release preference in Office…

Read more

Fix “Cannot contact web site ‘https://tenant-admin.sharepoint.com/’ or the web site does not support SharePoint Online credentials. The response status code is ‘Unauthorized'” Error

Problem: When trying to connect to SharePoint Online through PowerShell script, got this error message “Cannot contact web site ‘https://crescent-admin.sharepoint.com/’ or the web site does not support SharePoint Online credentials. The response status code is ‘Unauthorized’” Tried running a CSOM script and got an error: “Exception calling “ExecuteQuery” with “0” argument(s): “Cannot…

Read more

Connect-PnPOnline : The term ‘Connect-PnPOnline’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Problem: When trying to run a PowerShell script for SharePoint Online, got this error message: “Connect-PnPOnline : The term ‘Connect-PnPOnline’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is…

Read more

SharePoint Online: Check If a Folder has Unique Permissions

Requirement: Check If a Folder has Unique Permissions in SharePoint Online using PowerShell How to check if a Folder has Unique Permissions? By default, a new folder will have permissions inherited from its parent folder or library. Checking if a folder has unique permissions in SharePoint Online can be done by following…

Read more

SharePoint Online: How to Get All Modern Group Sites using PowerShell?

Requirement: Get Modern Group Team sites in SharePoint Online. How to Get All Modern Group Sites in SharePoint Online? In the modern admin center, you can filter sites by its template. Just mouse over to the template column and filter template based on your requirement. We can get the list of modern…

Read more

SharePoint Online: Get Admin Center Site URL

Requirement: Find SharePoint Online Admin Center How to Access the SharePoint Online Admin Center? We need the SharePoint admin site URL for managing the SharePoint Online environment and to work with SharePoint Online PowerShell modules. How to find SharePoint Online tenant admin URL? Typically, the admin center is located at: https://tenant-admin.sharepoint.com/ If…

Read more

SharePoint Online: URL Length Limitation of 218 Characters in Excel Files

Problem: When trying to open a Microsoft Excel file stored in a SharePoint Online document library, got this error message: We couldn’t open that file. rename the file to use a shorter name or copy it to a different folder with a shorter path. We faced similar issues like: “Sorry, we couldn’t…

Read more

SharePoint Online: Change List or Document Library Icon using PowerShell

Problem: Icon for document library is broken in SharePoint Online after migration. How to Fix Broken Icon for SharePoint Online List or Document Library? After migrating from SharePoint On-premises to SharePoint Online, we found certain document library icons are broken – These document libraries were provisioned through a custom application and have…

Read more

SharePoint Online: Change Regional Settings using PowerShell

Requirement: Change regional settings in SharePoint Online using PowerShell How to Change Regional Settings in SharePoint Online? By default, the regional settings are selected from Site creation Settings in the SharePoint Admin Center at the time of site creation. However, you may need to change these settings depending on your location or…

Read more