Benfica Online

Benfica Online

Benfica Online

All topic

Disabling “Create Site” in SharePoint Online except admins

In SharePoint Online, there is a “+ Create Site” button that allows users to create sites, in our case configured to create them under /sites.

We don’t want end users being able to create sites at this time, only administrators.

In the SharePoint Admin Center, it has a setting “Subsite Creation” with options:

  • Hide the subsite menu command
  • Show the subsite menu command to users who have permission to create sites

1) If I hide this button, it is hidden for EVERYONE, including administrators. How do admins create sites under /sites when this is hidden?

2) When it says “users who have permission to create sites”, where or how is this permission given or taken away? Is this tied to O365 Group creation?

All topic

Cpns Online

Cpns Online

Cpns Online

All topic

Nwz Online

Nwz Online

Nwz Online

All topic

Need to show same custom list on multiple subsites in SharePoint Online

In SharePoint Online, is there a way to show the same custom list on multiple subsites? We have a company Intranet with a separate subsite for each location in five cities. We want to (1) create a custom News list with a “Location” column with five checkboxes, (2) create a view for each location, and (3) show the appropriate view on each location’s subsite. Items in the list often apply to two or more locations, hence the checkboxes, so we want to maintain only one list and have each location’s subsite show only what is relevant to them. Any ideas?

All topic

Sharepoint Online PowerShell script to enumerate all sites and subsites and users

I have this task to iterate through a tenant, listing each site and subsite and
its users (if possible with permissions).
I’ve seen a script that says to do that but it does not list the subsites and the users that are there.
The script that I am referring is :

Script that allows to get all the users for all the Site Collections in a SharePoint Online Tenant
Required Parameters:

-> $sUserName: User Name to connect to the SharePoint Admin Center. 

-> $sMessage: Message to show in the user credentials prompt.  
-> $sSPOAdminCenterUrl: SharePoint Admin Center Url



$host.Runspace.ThreadOptions = "ReuseThread"

Definition of the function that gets all the site collections information in a SharePoint Online tenant

function Get-SPOUsersAllSiteCollections
{
    param ($sUserName,$sMessage)
    try
    {    
        Write-Host "----------------------------------------------------------------------------"  -foregroundcolor Green
        Write-Host "Getting the information for all the site colletions in the Office 365 tenant" -foregroundcolor Green
        Write-Host "----------------------------------------------------------------------------"  -foregroundcolor Green
        #$msolcred = get-credential -UserName $sUserName -Message $sMessage
        #Connect-SPOService -Url $sSPOAdminCenterUrl -Credential $msolcred
        $spoSites=Get-SPOSite | Select *
        foreach($spoSite in $spoSites)
        {
            Write-Host "Users for " $spoSite.Url -foregroundcolor Blue
            Get-SPOUser -Site $spoSite.Url
            Write-Host
        }        
    }
    catch [System.Exception]
    {
        write-host -f red $_.Exception.ToString()   
    }    
}

#Connection to Office 365
$sUserName=""
$sMessage="Introduce your SPO Credentials"
$sSPOAdminCenterUrl="https://-admin.sharepoint.com/"

Get-SPOUsersAllSiteCollections -sUserName $sUserName -sMessage $sMessage

the link is :
https://github.com/CompartiMOSS/SharePoint-PowerShell/blob/master/Office%20365/PS_Get_SPOUsers_AllSiteCollections.ps1

What I’m referring to ‘each subsite’ is :

I may have a site (‘Joe’) like this:

https://contoso.sharepoint.com/sites/Joe/SitePages/Home.aspx

and a subsite, under ‘Joe’ like this:

https://contoso.sharepoint.com/sites/Joe/SubSiteJoe/SitePages/Home.aspx

The script shows the ‘Joe’ site and the users, but not the ‘SubSiteJoe’ under it.

Any ideas if this is possible ?

All topic

Cheatsheet and best practices for team members online

We are a small company. We do web development. I’m looking for some solution where we can write best practices, tutorials and cheatsheet for all members.

EXAMPLE:

One section would be Ubuntu and there would be articles like:

  • python36 – how to install
  • gunicorn – how to configure gunicorn

For now, it seems that some private wiki would work ok.

Do you have any advices?

All topic

SharePoint Online REST API returns empty results if a folder contains more than 5000 files

I noticed that SharePoint is returning empty results if a folder contains more than 5000 files. I am using the following URL. /_api/Web/GetFolderByServerRelativeUrl(‘folderRelativeUrl’)/Files. Is there a way to retrieve all the possible documents with the same URL?

All topic

Set Lookup and User Field Types when Migrating to Sharepoint online using Migration API

I am in the process of writing a c# code to migrate set of files to Sharepoint online(o365) using migration API and I have successfully done migration using the approach mentioned in the below link.

http://case.schollaart.net/2016/03/10/office365-migration-using-c-sharp.html

But I am unable to update complex field types such as Lookup fields and User type fields in a document library.

Is there any suggestion or approach recommended for this scenario?

All topic

Update sharepoint online (o365) MultiChoice filed using Migration API c#

I need to update a Multi Choice field in a document when migrating using Migration API.

I have tried sending comma separated lookup ID’s values to the Manifest.xml but was unsuccessful.

What is the exact way to send Multichoice values to be set in manifest.xml?

Note: When I send comma separated values to Manifest.xml it uses the first value to set the field.

All topic