12 votes
Accepted

Web Application and Site Collection

Let's imagine there is no web application to create the site collection, and you will create the site collection directly without creating a web application, In this case, Every site collection ...
Mohamed El-Qassas MVP's user avatar
9 votes

create New site collection with new content database using powershell

You have to create the Content Database 1st then you will be able to create new site collection. New-SPContentDatabase -Name "database name" -DatabaseServer "database server name" -WebApplication "...
Waqas Sarwar MVP's user avatar
8 votes
Accepted

Powershell - How to add multiple site collection admins as secondary?

If both primary and secondary owners are set, the only other way to add additional Site Collection admins is to use the New-SPUser command and include the switch parameter -SiteCollectionAdmin. New-...
Eric Alexander's user avatar
8 votes

Getting lookup values from another site in the same site collection

As Steven stated there is no way to do this OOTB but you can do it with powershell. Get the lists from different Sites: $targetWeb = Get-SPWeb http://sitecollection/site1/ $sourceWeb = Get-SPWeb ...
George Norberg's user avatar
8 votes
Accepted

How to change database for existing site collection in a sharepoint web application?

For this process to work, the following must be true The destination content database must already exist. The source content database and destination content database must be located on the same ...
Rajesh Joshi's user avatar
  • 1,344
8 votes

CSOM - Get root site collection URL

CSOM Using the ClientContext, get your Site object and check its URL SPContext.Current.Site.ServerRelativeUrl : if == "/" JSOM For that you can use the _spPageContextInfo variable. To check if ...
JayHell's user avatar
  • 1,478
8 votes
Accepted

Deleted Site Collection is still visible in View All Site Collection in Centeral Administration

When a site collection is deleted from GUI, the deleted site collection is stored in the SPDeletedSite object to be able to restore it back within 30 days using Restore-SPDeletedSite cmdlet. So to ...
Mohamed El-Qassas MVP's user avatar
7 votes

What is the purpose of the default site collections?

This is my best guess for each Site Collection, though I have been able to find limited official documentation. domain.sharepoint.com This is the top level (aka root) SharePoint Site Collection. ...
Shaun Luttin's user avatar
7 votes

best appraoch to modify a site collection url inside sharepoint 2013

Source: http://www.sharepointrelated.com/2015/03/30/change-site-collection-url-sharepoint/ $site = Get-SPSite http://servername/customer/questions $site.Rename("http://servername/customer/...
Juan Pablo Pussacq Laborde's user avatar
6 votes
Accepted

Rest API to get SharePoint site collection all users

The REST Endpoint URI to get all the users of a Site Collection is <site url>/_api/Web/SiteUsers
Nagarajan Muthukumar's user avatar
6 votes

Sharepoint 2013 - List of Site Collection Administrator (JavaScript)

Users are not allowed to enumerate 'higher' permissions. So have your script (which only has to run when administrators havechanged) dump the info into a public List (or formatted HTML file)
Danny '365CSI' Engelman's user avatar
6 votes
Accepted

Cannot get all site collection users using CSOM

Every site collection has its own user database. It's basically just a list at ~sitecollection/_catalogs/users. The Web.SiteUsers collection will only return users who have actually visited the site ...
Lars Fastrup's user avatar
  • 3,151
6 votes
Accepted

Site Collection Administrator has left the building

Ok Paul, you will need help from Share-point admins (someone with server access to the Sharepoint farm). You need someone with SharePoint admin privilege to open Central Administration and update the ...
Marek Sarad's user avatar
  • 3,530
5 votes

Sharepoint Online - Maximum number of subsites within single site collection

I tried contacting Microsoft for the same requirement but I found this question is already answered by Microsoft support team. The reply from Microsoft Team was like Currently, the sub site limit ...
Aakash Maurya's user avatar
5 votes

Modify SharePoint Online Site Collection URL

Short answer, no, not possible a without migration of some sort.
Eric Alexander's user avatar
5 votes
Accepted

How to get list of available custom template name using powershell script

I have answered for the same kind of query , Please find below the detail to get the available custom templates and create a sub-site based on that . This can be achieved using power shell and CSOM ...
Esaki's user avatar
  • 1,264
5 votes
Accepted

Sharepoint 2013 - List of Site Collection Administrator (JavaScript)

It is possible to list all administrators of a site collection using JavaScript(REST API). UserInformationList has the all users information of your site. You can get administrators using $filter. ...
Atish Kumar Dipongkor's user avatar
5 votes
Accepted

Custom URL for sharepoint Online

What @bonm014 said is true: it's not possible. The Microsoft's User Voice channel is the source for requested features and their status. Changing the tenant's name is one of the often requested ...
moe's user avatar
  • 5,267
5 votes
Accepted

Main site collection checked out to a user?

The site collection is not checked out. It is not possible to check out a site collection. What has happened is that the file Home.aspx in the SitePages library is checked out. Anyone with contribute ...
Frank H's user avatar
  • 340
5 votes

What is the effect of granting users "Restricted Interfaces for Translation" permsion on a site

I use that 'restricted interfaces for translation' when I have people who have contribute rights to a list in a site, but don't have any rights to the site itself. In 2010, giving a person contribute ...
Robin in Or's user avatar
  • 2,081
5 votes
Accepted

Prevent Site Collection Administrator from viewing library documents

Their is no way to block site collection administrators from viewing anything on that site collection. You have to think different strategy i.e. enabling auditing so that who ever access that ...
Waqas Sarwar MVP's user avatar
5 votes
Accepted

Site Collection Vs Hubsite

Actually, the Hub site is considered a top-level site collection for other site collections to serves the flat structure, unlike the old Site collection and its subsites structure! the Hub site has ...
Mohamed El-Qassas MVP's user avatar
5 votes
Accepted

Create site collection in content database

I don't think it's possible automatically. Unfortunately, There is no event receiver triggered when creating/ created a site collection to handle this using event receiver. However, you can adjust ...
Mohamed El-Qassas MVP's user avatar
5 votes

SPFX and pnp/sp : How to get all sites

Using @pnp/sp framework, you can get the list of all site collections as below: Add the below import statement: import { sp, SearchQuery, SearchResults} from "@pnp/sp"; After that, ...
Gautam Sheth's user avatar
  • 30.8k
4 votes

Get-SPUser without specify a site collection

The users are stored per SiteCollection, so there will no other way as to iterate through all of them.
Leopold Lerch's user avatar
4 votes
Accepted

create New site collection with new content database using powershell

You can use: New-SPSite -Url $url –ContentDatabase $ContentDatabase -Name $WebsiteName –Description $WebsiteDesc -Template $Template -OwnerAlias $PrimaryLogin –OwnerEmail $PrimaryEmail see: https://...
Oak3's user avatar
  • 1,615
4 votes
Accepted

SiteCollection not available after the DB was moved into a different volume/drive by DB Admin

You can detach the content database from central admin and then reattach using the correct SQLCluster Name. You dont need to delete anything. Attach or detach content databases in SharePoint 2013
Waqas Sarwar MVP's user avatar
4 votes

Sharepoint Online - Maximum number of subsites within single site collection

I think 2000 subsite per site collection is just a threshold value. There will be impact on performance if your subsite count is more than 2000. Thats why Microsoft recommends upto 2000 subsites ...
Amit Kotha's user avatar
  • 2,157
4 votes

how to get site collection url from SharePoint Hosted App

In your App url there are various Query String Parameters as shown here. That already containts the site collection url. The Query String paramter "SPHostUrl" will give you the site collection URl. ...
Aakash Maurya's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible