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 ...
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 ...
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)
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 ...
6
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 ...
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 ...
6
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, ...
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 ...
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.
...
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 ...
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 ...
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 ...
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 ...
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 ...
4
votes
Sharepoint online how to get site logo url in Javascript?
Site logo url is exposed using the method get_siteLogoUrl().
Try the below code:
var hostUrl = GetUrlKeyValue("SPHostUrl");
var context = new SP.ClientContext.get_current();
var hostcontext = new SP....
4
votes
How to get list of available custom template name using powershell script
This should help
$web = get-spweb http://intranet
$template = $web.GetAvailableWebTemplates(1033)
To create a new subsite, based off of a custom web template, you can use the following script
$...
4
votes
Accessing Office 365 site collection without microsoft login: Access site anonymously
Public SharePoint Online websites that allow for custom domains are no longer supported. You'll need to host something somewhere else. See the exhaustive guidance here, https://support.microsoft.com/...
4
votes
Cannot get all site collection users using CSOM
In People Picker, All users are coming from AD whichever selected during User Profile Synchronization Connection.
In CSOM code, "var users = context.Web.SiteUsers;" User are coming which are added in ...
4
votes
Accepted
what is the Sites on the base site collection of SharePoint online?
Sites/ is a Wildcard Managed Paths which specify that one or more site collections exist at a specified path!
There are two types of managed paths that you can create:
A wildcard inclusion allows ...
4
votes
How to add a picture library to a communication site
Few list templates are not available in communication site template. You can enable 'Team Collaboration Lists' in site features to get the picture library templates installed. Navigate to the https://...
4
votes
Accepted
I am able to create sub-sites inside modern team sites and modern communication sites, why some links mentioned it is not possible
There's the "Modern UI" and the "Modern Site". While Microsoft does not stress the difference, the key difference is how users and security are handled. In the article you linked to they also said "...
4
votes
Accepted
I can't access my team site,i'm just a beginner here on SharePoint online 2013
404 not found means couple of thing happen
Site / URL you are trying to access is deleted. May be someone accidentally deleted it.
You dont have correct url may be some typo in it.
Site may be Locked ...
4
votes
Top Level Site SharePoint
You can have upto 500,000 site collections in a single tenant as per the Msft Documentation.
You have one Site collection at root of your tenant i.e https://yourcompanyname.sharepoint.com
All other ...
4
votes
SPFX and pnp/sp : How to get all sites
Do you want all sites in the tenant, or just the sites the user has permissions to? You can use the search API to return a list of webs or site collections the user has access to.
https://yourServer/...
4
votes
Accepted
Can an Office 365 Group be connected to more than one site collection simultaneously?
An "Office 365 Group" is a (special) Active Directory group plus a Site Collection. This AD group can be used as an ordinary AD group when granting access to other sites. When used this way, they are ...
4
votes
What is the difference between site collection storage and site storage?
A Site Collection is a container of Sites. (The distinction is clearer for developers as the code objects are named SPSite (for a Site Collection) and SPWeb (for a Site).
A Site Collection has a top ...
3
votes
Accepted
Display data from different site collections to a page
You can use A Content Search Web Part as OOTB solution to Display content from other site collections
Note : The Content Query WP is a limited for this purpose it can only display content from one ...
3
votes
How to get list of available custom template name using powershell script
Try the below code, will give you a list of all available templates. Using this, you can find out the custom template name as well as its ID
function Get-SPWebTemplateWithId
{
$templates = Get-...
3
votes
Sharepoint 2013 - List of Site Collection Administrator (JavaScript)
As site collection administrator options can be accessed only by site collection administrator, normal user cannot get this permissions.
One options i can think of is writing a site workflow and ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
site-collection × 9962013 × 165
sharepoint-online × 156
powershell × 105
2010 × 95
sharepoint-enterprise × 93
sharepoint-server × 86
site × 81
permissions × 61
administration × 52
content-database × 49
sub-site × 45
development × 44
2007 × 42
web-application × 42
site-template × 38
backup × 35
restore × 35
office-365 × 31
central-administration × 31
list × 28
migration × 26
document-library × 22
search × 21
csom × 21