We’re rewarding the question askers & reputations are being recalculated! Read more.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 1806

The client-side object model (CSOM) provides access to a subset of the SharePoint Foundation server object model, including core objects such as site collections, sites, lists, and list items and allows you to program against these from client side applications.

1
vote
/legal thing, then solution 2 would be better. If it is to serve both functions, then do both. Search for the end users and managed code (CSOM or Powershell) to give an exhaustive list. …
answered Nov 17 '15 by Eric Alexander
2
votes
-identity "https://tenant.sharepoint.com/teams/eric" -detailed $site.WebsCount This returned 3. Using your provided script worked fine. I was using the CSOM components from here. We are a first …
answered Dec 21 '16 by Eric Alexander
2
votes
To work with the tenant in CSOM, you must have the SharePoint administrator role or the Global Administrator role in Office 365. There is a command in the SharePoint Online Management shell to do this for you, Remove-SPOSite. …
answered Dec 1 '15 by Eric Alexander
5
votes
In SharePoint Online, your only choice is to use REST. CSOM will not work. You call the REST endpoint and it will return a batch of 100 or 200 items, and if more exist, will return a paged link to … access the next batch of data. I've used this technique in the past to update 100k+ items in a document library with success (in PowerShell), CSOM would not work. Marc Anderson has it detailed here …
answered Dec 20 '16 by Eric Alexander
0
votes
I've done it this way for our PS module. Function Get-Features { <# .SYNOPSIS Gets all the site or web features .DESCRIPTION Gets all the site or web scoped fe …
answered May 12 '16 by Eric Alexander
8
votes
No that is not possible. That layer of the infrastructure is blocked from Global Administrators. Best you can do is something like: $sites = Get-SPOSite -Limit all foreach($site in $sites){ $si …
answered Jul 26 '17 by Eric Alexander
1
vote
Yes it does, but not to the degree at which versioning in SharePoint behaved in the past. Previously it would take copies of the file leading to massive space consumption if you didn't put limits on v …
answered Nov 9 '15 by Eric Alexander
1
vote
in the site URL. In order to do it in PowerShell, you will need to install the SharePoint Online client components and use CSOM to get the site guid. $context = New-Object …
answered Aug 30 '16 by Eric Alexander
1
vote
I don't understand why Set-SPOSite would not be an option if you are using PowerShell, install the components, you'd need to install the DLLs for the client side components anyway. #The size in MB to …
answered Jul 6 '15 by Eric Alexander
7
votes
We've done it similar to this for remote scripting by service accounts: Log into your server as the service account Execute a script similar to this: $cred = get-credential $cred | Export- …
answered Sep 8 '16 by Eric Alexander
5
votes
There isn't any API that lets you enable it for a document library only that I have found. You can only influence that by setting the library experience on a site or a web. I have the following CSOM
answered Jul 28 '16 by Eric Alexander
0
votes
I do it this way, the globals are stored in my profile and then I can make all the functions operate in this way: #Global Variables $CAprod = "https://company-admin.sharepoint.com" $me = …
answered Sep 22 '15 by Eric Alexander
2
votes
The CAML would look like: <Where> <Eq> <FieldRef Name='booleanField' /> <Value Type='Boolean'>0</Value> </Eq> </Where> If you are going to be building a lot of CAM …
answered May 3 '16 by Eric Alexander
1
vote
Sorry I wasn't reading your question clearly. The above script works if the user is explictly defined. However, there is no method in SPServices that expands group membership based on AD groups. You'l …
answered May 29 '15 by Eric Alexander
2
votes
The powershell coverage is weak, so you aren't going to have export options like you would on prem. You would have to create a script with CSOM, as a compiled exe or in powershell, to perform the …
answered May 19 '16 by Eric Alexander