How to: Fix “You have to delete all the items in this folder before you can delete the folder” Error from SharePoint/OneDrive

The Issue

When trying to delete a folder from Microsoft 365/Office 365 SharePoint, we get following error (Even if we are using Microsoft 365 Global Administrator)

You have to delete all the items in this folder before you can delete the folder

Microsoft 365, SharePoint, Delete folder error
Microsoft 365, SharePoint, Delete folder error

The Fix

There are two workarounds, 1 one is manually dive into the folders, till we open the last and innermost folder, then delete our way to outermost/top-level folders, 2 another way is fix this error completely but there will be cons as well.

Method 1 – Manually (Old fashioned/Classic way)

This method is easiest and suitable for deleting small amount of folders and files (e.g. 5 folders in hierarchy structure), if you have more than 10 level of folders like Matryoshka doll below or even 10 folder and each of them has 20 folders in hierarchy structure…..

Matryoshka doll
Matryoshka doll

You probably would not want to delete them one by one manually, then let’s look at method 2 below

Method 2 – Disable File Retention

This method is easy to deal with, disable file retention for everything in Microsoft 365 or just for SharePoint (It depends on you Retention rules), the con for this method is that, Warning: If anyone or any users is deleting folders or any files during this period with Retention off, then those folder and files will not be protected by the Retention rules, since it is off. Here is how to do it

1 Login to Microsoft 365 admin center

2 Click on “Security” to open “Office 365 Security & Compliance

3 Navigate to “Information governance” -> “Retention” from left hand side menu bar

4 From right hand side, find the Retention policy which is protecting SharePoint or OneDrive or both, or maybe 1 rule is protecting everything Microsoft 365, again it depends on your settings.

5 Click on that rule, Find the switch underneath “Status”, switch it off.

6 Wait for 10 – 60 minutes

7 Try to delete the folder which contains many sub folders and files, this time it should proceed without any errors.

8 Remember to turn the Retention switch back on!!! (If you still want to use it)


How to: Approve/Reject/Moderate email from new Microsoft 365/Office 365 web Outlook/Online/Outlook/web mail on Mobile devices/phones

The Issue

We used to be able to Moderate/Approve/Reject emails within the web version of Outlook from mobile phones/devices, the new web version of Outlook on mobile phone/device however, removed that feature

The Fix

So how do we approve or reject emails now?

Here is how

No matter you are using Android or iOS devices, most mobile devices’ browsers should support “Desktop Version”

As you guessed, here is how to approve/reject emails from our mobile phone or devices

1 Use the native web browser from our mobile device, or we can use third-party browser by installing the browser app e.g. Mozilla Firefox

2 Login to https://office.com with your Microsoft 265 account

3 Click on “Outlook”

4 Now we will see the mobile web version of Outlook will appear

5 Find “…” or “Aa” etc. or Settings…

6 Find the option to “Switch to Desktop Version” or “Desktop Version” or similar options

7 Now we will be able to Approve/Reject the email


How to: Switch/Change between Monthly Channel and Semi-Annual Channel for Office 365/Office 2019/Microsoft 365 (How to: Switch update channel for Office 365/Office 2019/Microsoft 365)

Before we start, make sure all office apps are closed/terminated.

1 Check your current Office Version First: How to: Check Office 365/Office 2019 current update channel

2 To change/switch the update channel for Office, first we need to launch Registry Editor

2.1 Launch “Run” Window by using Win + R key combination

Microsoft Windows - Run window
Microsoft Windows – Run window

2.2 Type “regedit” then click on OK button or press Enter key

3 Navigate to following path

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration

If it’s O365 or Office 2019, make sure it’s under Office\16.0\ClickToRun…. not 15.0

Registry Editor - ClickToRun - Configuration (Change office update channel)
Registry Editor – ClickToRun – Configuration (Change office update channel)

4 The items we will need to change/modify to change the update channel are “CDNBaseUrl”, “UpdateChannel” and “UpdateChannelChanged” (Double click on the item to modify)

(Before changing the value, make sure you have backup of those urls, you can copy and save it to somewhere safe)

For switching to Monthly Channel, we make following changes

(Note: For other channels see the bottom of the page)

CDNBaseUrl

http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60

UpdateChannel

http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60

For switching to Semi-Annual Channel

CDNBaseUrl

http://officecdn.microsoft.com/pr/7ffbc6bf-bc32-4f92-8982-f9dd17fd3114

UpdateChannel

http://officecdn.microsoft.com/pr/7ffbc6bf-bc32-4f92-8982-f9dd17fd3114

Note: The following steps are required for switching to either of Monthly Channel or Semi-Annual Channel

5 Change “UpdateChannelChanged” value from “False” to “True”

6 Launch any office apps, Excel, Word etc. etc.

7 Continue from this guide (How to: Check Office 365/Office 2019 current update channel) till the end, click on “Office Updates” button showing from the last image from the above guide.

8 Wait till the update finish, no we have successfully switched update channel for our Office 365/Office 2019

Edit (14/05/2020)

As of 14/05/2020, Microsoft has changed their naming for update channels, not sure if there is anything to do with the updating URL yet.

New namesOld names
Beta ChannelInsider
Current Channel (Preview)Monthly Channel (Targeted)
Current ChannelMonthly Channel
Monthly Enterprise ChannelN/A
Semi-Annual Enterprise Channel (Preview)Semi-Annual Channel (Targeted)
Semi-Annual Enterprise ChannelSemi-Annual Channel

Edit (22/05/2020)

Bonus

Different channel CDNBaseUrl, UpdateChannel

Monthly Enterprise Channel
CDNBaseUrl = http://officecdn.microsoft.com/pr/55336b82-a18d-4dd6-b5f6-9e5095c314a6
 
Current Channel
CDNBaseUrl = http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60
 
Current Channel (Preview)
CDNBaseUrl = http://officecdn.microsoft.com/pr/64256afe-f5d9-4f86-8936-8840a6a4f5be
 
Semi-Annual Enterprise Channel
CDNBaseUrl = http://officecdn.microsoft.com/pr/7ffbc6bf-bc32-4f92-8982-f9dd17fd3114
 
Semi-Annual Enterprise Channel (Preview)
CDNBaseUrl = http://officecdn.microsoft.com/pr/b8f9b850-328d-4355-9145-c59439a0c4cf
 
Beta Channel
CDNBaseUrl = http://officecdn.microsoft.com/pr/5440fd1f-7ecb-4221-8110-145efaa6372f

Comparison of the update channels for Microsoft 365 Apps

The following table provides a comparison of Current Channel, Monthly Enterprise Channel, and Semi-Annual Enterprise Channel. [1]

Current
Channel
Monthly Enterprise
Channel
Semi-Annual Enterprise
Channel
Recommended useProvide your users with new Office features as soon as they are ready, but on no set schedule.Provide your users with new Office features only once a month and on a predictable schedule.For select devices in your organization, where extensive testing is needed before rolling out new Office features. For example, to comply with regulatory, governmental, or other organizational requirements.
Release frequency1At least once a month (likely more often), but on no set scheduleOnce a month, on the second Tuesday of the monthOnce a month, on the second Tuesday of the month
Feature updates2As soon as they’re ready (usually once a month), but on no set scheduleOnce a month, on the second Tuesday of the monthTwice a year (in January and July), on the second Tuesday of the month
Security updates3
(if needed)
Once a month, on the second Tuesday of the monthOnce a month, on the second Tuesday of the monthOnce a month, on the second Tuesday of the month
Non-security updates2
(if needed)
Usually at least once a month (possibly more often), but no set scheduleOnce a month, on the second Tuesday of the monthOnce a month, on the second Tuesday of the month
Support duration for a given version4Until the next version is released with new features, which is usually about one monthTwo monthsFourteen months

1 For a list of release dates for these update channels, including version and build numbers, see Update history for Microsoft 365 Apps.

2 For information about what feature updates and non-security updates are included in a given release of these update channels, see Release notes for Microsoft 365 Apps releases.

3 For a list of security updates included in a given release of these update channels, see Release notes for Microsoft 365 Apps Security Updates

4 For a table that shows which version and build is currently supported for each of these update channels, see Update history for Microsoft 365 Apps.

Channel attribute (part of Updates element)

Optional. The default is Broad for Microsoft 365 Apps for enterprise and Monthly for the subscription versions of the Project and Visio desktop apps.

If you use Group Policy with the Administrative Template files (ADMX/ADML) for Office, you can set Channel by using the Update Channel policy setting. You can find this policy setting under Computer Configuration\Policies\Administrative Templates\Microsoft Office 2016 (Machine)\Updates. If enabled, this Group Policy setting takes precedence over the Channel value set by using the Office Deployment Tool.

Allowed values:

  • Channel=”Monthly”
  • Channel=”MonthlyEnterprise”
  • Channel=”Broad”
  • Channel=”Targeted”

Use “Broad” for Semi-Annual Channel and “Targeted” for Semi-Annual Channel (Targeted). [2]

References

[1] “Overview of update channels for Microsoft 365 Apps”, Docs.microsoft.com, 2020. [Online]. Available: https://docs.microsoft.com/en-us/deployoffice/overview-update-channels

[2] “Configuration options for the Office Deployment Tool”, Docs.microsoft.com, 2020. [Online]. Available: https://docs.microsoft.com/en-us/deployoffice/office-deployment-tool-configuration-options#channel-attribute-part-of-updates-element