Hide the next steps dialog from newly created sites in SharePoint

When you create new team or communication sites in SharePoint, the first user that visits will be presented with a template gallery picker. This can be disabled by follow these steps: https://areflyen.no/2022/05/25/hide-the-template-gallery-from-newly-created-sites-in-sharepoint/ After the web template dialog is closed, a new panel is opened on the right side of the page: As with the template … Continue reading Hide the next steps dialog from newly created sites in SharePoint

Hide the template gallery from newly created sites in SharePoint

When you create new team or communication sites in SharePoint, the first user that visits will be presented with a template gallery picker: This is a great feature for simpler solutions or where you utilize the Site Design to apply your solution. For organizations using their own provisioning solution the site might already be ready … Continue reading Hide the template gallery from newly created sites in SharePoint

Redirect your sites in SharePoint to a new site collection

Background During a intranet migration there was a requirement to move the intranet from the root site to a site collection under "/sites". When moving site collections around in the SharePoint Admin Center a redirect will automatically be added to the old URL, so in many cases this is sufficient. In this case we could … Continue reading Redirect your sites in SharePoint to a new site collection

Errors after upgrading SharePoint Framework to a newer version

After upgrading SharePoint Framework (SPFx) to the latest version, there still might be a chance for getting into trouble even if you have done everything by the books. An by the books I of course refer to using the excellent project upgrade tool from the Microsoft 365 CLI (https://pnp.github.io/cli-microsoft365/cmd/spfx/project/project-upgrade/). Example of error message after running … Continue reading Errors after upgrading SharePoint Framework to a newer version

Fix broken Hub Sites in SharePoint Online

If you have been an early adopter of the Hub Site functionality (https://docs.microsoft.com/en-us/sharepoint/planning-hub-sites) in SharePoint Online, you might also get stuck in some trouble with Hub Sites not showing up in SharePoint Admin Center or being unable to register or unregister these sites. Fortunately it is quite easy to clean up broken hub sites and … Continue reading Fix broken Hub Sites in SharePoint Online

List over available languages for a site in SharePoint Online

From time to time it is necessary to set the LCID or language code for creating new resources like sites. Even if more and more resources get multi-language support, it is usually be required to set the default language for fallback. DisplayNameLanguageTagLcid Arabicar-SA1025 Azerbaijaniaz-Latn-AZ1068 Basqueeu-ES1069 Bosnian (Latin)bs-Latn-BA5146 Bulgarianbg-BG1026 Catalanca-ES1027 Chinese (Simplified)zh-CN2052 Chinese (Traditional)zh-TW1028 Croatianhr-HR1050 Czechcs-CZ1029 … Continue reading List over available languages for a site in SharePoint Online

Help! My Azure WebJob, Azure Function or Azure Automation job has stopped working with “Token request failed”

I work a lot with automation of tasks in Microsoft 365 and Azure, and many of them involve connecting to other Microsoft 365 services like SharePoint Online. Years back Azure WebJob was the only viable solution for running automated .NET and PowerShell based tasks, but over the years this has moved along to Azure Functions, … Continue reading Help! My Azure WebJob, Azure Function or Azure Automation job has stopped working with “Token request failed”

Create a Communication Site from code in SharePoint Online using PowerShell

Lately Microsoft released the new  and long awaited modern site template for publishing sites in SharePoint Online (Office 365). The site templates is named "Communication Site" and is the second template released after the modern "Team Site". This site template can be created if you have permissions from the SharePoint Home page using the "Create … Continue reading Create a Communication Site from code in SharePoint Online using PowerShell

Problem with connecting to SharePoint Online in Office 365 with PowerShell, SharePoint Designer and other 3. party tools

You are not any longer able to log into SharePoint using PowerShell, SharePoint Designer and other 3. party tools (ex. ShareGate, SharePoint Search Query Tool etc). The error message states something that you are "Unauthorized" and "…the web site does not support SharePoint Online credentials" even though you username and password is fine. Example: Error … Continue reading Problem with connecting to SharePoint Online in Office 365 with PowerShell, SharePoint Designer and other 3. party tools