1
Answer

Error while running Powershell script

Aravind Kumar

Aravind Kumar

8y
326
1
New-Object : Cannot find type [Microsoft.SharePoint.Client.ClientContext]: make sure the assembly containing this type is loaded.
+ $ctx = New-Object Microsoft.SharePoint.Client.ClientContext($siteURL)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
+ FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
Answers (1)