You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/en/SharePointOnline/ctremove.md
+7-20
Original file line number
Diff line number
Diff line change
@@ -21,32 +21,19 @@ Click delete this content type and receive the following error message:
21
21
<imgsrc="/articles/img/ctremove.png"width="200">
22
22
23
23
24
-
Solution
24
+
# Solution
25
25
26
-
We did the Thinker pose, shouted loudly %#$%#% (still no improvement) and resorted to something that almost never fails - PowerShell.
27
26
28
-
To save you from hurting your fists, we are sharing the solution below:
27
+
The error message means that somewhere out there there are still items using that content type you are trying to delete. There are several ways you can fix it:
29
28
30
-
We have already PowerShell ISE and SharePoint Online SDK installed. So in the ISE Window let's go right away and add the paths to the SDK:
29
+
* User Interface (Browser)
30
+
* PNP Powershell
31
+
* CSOM + Powershell
32
+
* REST API
31
33
32
-
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
33
-
34
-
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
0 commit comments