Office 365: How to enable Azure AD service in a tenant!

As you know, one of the latest services added by Microsoft to Office 365 is the Azure AD. To use Azure AD in Office 365, you need to enable it in your Office 365 tenant and for doing this task I recommend you to read the following two articles that provide an overview about different approaches to enable Azure AD in Office 365:

Office 365: Como habilitar Azure AD en un tenant!

Como sabéis, uno de los últimos servicios añadidos por Microsoft a Office 365 es el de Azure AD. Para poder hacer uso del mismo, es necesario habilitarlo en nuestro tenant y para ello os recomiendo los siguientes dos artículos en los que se detallan distintas posibilidades para conseguirlo:

SharePoint & Office 365: Summary of PowerShell scripts published in the TechNet Scriptcenter Gallery!

This time, I wanted to make a summary of all the PowerShell scripts for SharePoint and Office 365 that have been published in the Microsoft TechNet Scripts Center Gallery. As you can see in the summary, I have tried to group the scripts by a certain category.

SharePoint Administration

Upagrade to SharePoint 2013

Auditing

Backup and Restore

Search

SharePoint Solutions Deployment

CSOM for SharePoint OnPremises

Working with lists

Branding

Office 365

SharePoint & Office 365: Resumen de scripts PowerShell publicados!

En esta ocasión, os quería dejar un resumen de todos los script PowerShell para SharePoint y Office 365 que he ido publicando en la galería de scripts de Microsoft TechNet. Como podéis ver en el resumen, he tratado de agrupar los scripts por categorías.

Administración de SharePoint

Actualización a SharePoint 2013

Auditoría

Copias de Seguridad

Búsquedas

Despliegue de Soluciones

Uso del CSOM en SharePoint OnPremises

Trabajo con Listas

Branding

Office 365

[Eventos]: Vuelve BilboStack, el mejor evento sobre desarrollo web!

Pues eso, que en aproximadamente un mes tendrá lugar una nueva edición del evento BilboStack en Bilbao y en el que participarán un montón de cracks del mundillo del desarrollo web como Asire Marqués, Ibón Landa, Eduard Tomás y otros grandes. En esta nueva edición, y según me ha estado contando Ibón Landa, quieren que el evento suponga un record de asistencia para aprovechar además que en esta ocasión se contarán con salas de mayor capacidad gracias a la colaboración de la Universidad de Deusto. Os comparto toda la información sobre el evento y os animo a que participéis:

image

SharePoint Online: How to deal with permissions and permissions levels using the Client Side Object Model and PowerShell (II)!

Continuing the series of posts about how to work with permissions and permission levels in SharePoint Online using the client side object model, this time I am sharing a PowerShell script about how to get the list of all SharePoint groups in a SharePoint Online site using the Client Side Object Model instead of Get-SPOSiteGroup command.

   1: ############################################################################################################################################

   2: # Script that allows to get all the SharePoint groups in a SharePoint Online Site

   3: # Required Parameters:

   4: #  -> $sUserName: User Name to connect to the SharePoint Online Site Collection.

   5: #  -> $sPassword: Password for the user.

   6: #  -> $sSiteCollectionUrl: SharePoint Online Site

   7: ############################################################################################################################################

   8:  

   9: $host.Runspace.ThreadOptions = "ReuseThread"

  10:  

  11: #Definition of the function that gets all the SharePoint groups in a SharePoint Online site

  12: function Get-SPOSharePointGroupsInSite

  13: {

  14:     param ($sSiteColUrl,$sUsername,$sPassword)

  15:     try

  16:     {    

  17:         Write-Host "----------------------------------------------------------------------------"  -foregroundcolor Green

  18:         Write-Host "Getting all Groups in a SharePoint Online Site" -foregroundcolor Green

  19:         Write-Host "----------------------------------------------------------------------------"  -foregroundcolor Green

  20:      

  21:         #Adding the Client OM Assemblies        

  22:         Add-Type -Path "<CSOM_Path>\Microsoft.SharePoint.Client.dll"

  23:         Add-Type -Path "<CSOM_Path>\Microsoft.SharePoint.Client.Runtime.dll"

  24:  

  25:         #SPO Client Object Model Context

  26:         $spoCtx = New-Object Microsoft.SharePoint.Client.ClientContext($sSiteColUrl) 

  27:         $spoCredentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($sUsername, $sPassword)  

  28:         $spoCtx.Credentials = $spoCredentials 

  29:  

  30:         #Root Web Site

  31:         $spoRootWebSite = $spoCtx.Web

  32:         #Collecction of Sites under the Root Web Site

  33:         $spoSites = $spoRootWebSite.Webs

  34:  

  35:         #Loading Operations

  36:         $spoGroups=$spoCtx.Web.SiteGroups

  37:         $spoCtx.Load($spoGroups)

  38:         $spoCtx.ExecuteQuery()

  39:         

  40:         #We need to iterate through the $spoGroups Object in order to get individual Group information

  41:         foreach($spoGroup in $spoGroups){

  42:             $spoCtx.Load($spoGroup)

  43:             $spoCtx.ExecuteQuery()

  44:             Write-Host $spoGroup.Title

  45:         }

  46:  

  47:         $spoCtx.Dispose()

  48:     }

  49:     catch [System.Exception]

  50:     {

  51:         write-host -f red $_.Exception.ToString()   

  52:     }    

  53: }

  54:  

  55: #Required Parameters

  56: $sSiteColUrl = "https://<SPO_SiteUrl>" 

  57: $sUsername = "<SPOUserName>" 

  58: #$sPassword = Read-Host -Prompt "Enter your password: " -AsSecureString  

  59: $sPassword=convertto-securestring "<SPO_Password>" -asplaintext -force

  60:  

  61: Get-SPOSharePointGroupsInSite -sSiteColUrl $sSiteColUrl -sUsername $sUsername -sPassword $sPassword

You can download the PowerShell script from the following download page in the Script Center Gallery in TechNet: How to get all the SharePoint Groups in a SharePoint Online Site. Finally, bellow you can see the screenshot you get when you execute the script in the SharePoint Online Management Shell:

References:

SharePoint Online: Como trabajar con permisos y niveles de permisos con el modelo de objetos en cliente y PowerShell(II)!

Siguiendo con la serie de posts sobre como trabajar con permisos y niveles de permisos haciendo uso del modelo de objetos en cliente, en esta ocasión os dejo como obtener el listado de grupos de SharePoint de un sitio de SharePoint Online utilizando PowerShell utilizando el modelo de objetos en cliente en lugar del comando Get-SPOSiteGroup.

   1: ############################################################################################################################################

   2: # Script that allows to get all the SharePoint groups in a SharePoint Online Site

   3: # Required Parameters:

   4: #  -> $sUserName: User Name to connect to the SharePoint Online Site Collection.

   5: #  -> $sPassword: Password for the user.

   6: #  -> $sSiteCollectionUrl: SharePoint Online Site

   7: ############################################################################################################################################

   8:  

   9: $host.Runspace.ThreadOptions = "ReuseThread"

  10:  

  11: #Definition of the function that gets all the SharePoint groups in a SharePoint Online site

  12: function Get-SPOSharePointGroupsInSite

  13: {

  14:     param ($sSiteColUrl,$sUsername,$sPassword)

  15:     try

  16:     {    

  17:         Write-Host "----------------------------------------------------------------------------"  -foregroundcolor Green

  18:         Write-Host "Getting all Groups in a SharePoint Online Site" -foregroundcolor Green

  19:         Write-Host "----------------------------------------------------------------------------"  -foregroundcolor Green

  20:      

  21:         #Adding the Client OM Assemblies        

  22:         Add-Type -Path "<CSOM_Path>\Microsoft.SharePoint.Client.dll"

  23:         Add-Type -Path "<CSOM_Path>\Microsoft.SharePoint.Client.Runtime.dll"

  24:  

  25:         #SPO Client Object Model Context

  26:         $spoCtx = New-Object Microsoft.SharePoint.Client.ClientContext($sSiteColUrl) 

  27:         $spoCredentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($sUsername, $sPassword)  

  28:         $spoCtx.Credentials = $spoCredentials 

  29:  

  30:         #Root Web Site

  31:         $spoRootWebSite = $spoCtx.Web

  32:         #Collecction of Sites under the Root Web Site

  33:         $spoSites = $spoRootWebSite.Webs

  34:  

  35:         #Loading Operations

  36:         $spoGroups=$spoCtx.Web.SiteGroups

  37:         $spoCtx.Load($spoGroups)

  38:         $spoCtx.ExecuteQuery()

  39:         

  40:         #We need to iterate through the $spoGroups Object in order to get individual Group information

  41:         foreach($spoGroup in $spoGroups){

  42:             $spoCtx.Load($spoGroup)

  43:             $spoCtx.ExecuteQuery()

  44:             Write-Host $spoGroup.Title

  45:         }

  46:  

  47:         $spoCtx.Dispose()

  48:     }

  49:     catch [System.Exception]

  50:     {

  51:         write-host -f red $_.Exception.ToString()   

  52:     }    

  53: }

  54:  

  55: #Required Parameters

  56: $sSiteColUrl = "https://<SPO_SiteUrl>" 

  57: $sUsername = "<SPOUserName>" 

  58: #$sPassword = Read-Host -Prompt "Enter your password: " -AsSecureString  

  59: $sPassword=convertto-securestring "<SPO_Password>" -asplaintext -force

  60:  

  61: Get-SPOSharePointGroupsInSite -sSiteColUrl $sSiteColUrl -sUsername $sUsername -sPassword $sPassword

Podéis descargaros el script desde el siguiente enlace de la Galería de Scripts de TechNet: How to get all the SharePoint Groups in a SharePoint Online Site. Por supuesto, el resultado que se obtiene es el siguiente para un cierto sitio de SharePoint Online.

image

Referencias:

Office 365: Probando los planes de tipo Business Premium (I)!

Aunque en este artículo os hablaba de las implicaciones de los nuevos tipos de planes disponibles en Office 365, de cara a evaluar las características y posibilidades de los mismos no queda otra que meterse en faena. En este artículo, vamos a ver que pinta tiene un plan de tipo Business Premium:

image image
  • A nivel de SharePoint Online, de nuevo veremos que la experiencia de uso es la misma que para planes de tipo Empresarial.

image

Y hasta aquí llega este primer post sobre planes de tipo Business Premium. Como podéis ver, la experiencia de trabajo con los mismos es la misma que tenemos para planes de tipo Empresarial.

Office 365: Mejorando la adopción de la plataforma con Office 365 FastTrack (II)!

Siguiendo con la serie de artículos sobre Office 365 FasTrack, en esta ocasión vamos a ver como ponerlo en marcha en un tenant de Office 365. Los pasos a seguir son:

image image
  • En el nuevo formulario que se muestra, completamos los datos relativos al tenant en el que vamos a provisionar los contenidos de FastTrack. Pulsamos “Provision” para que se inicie el proceso de provisionado (Nota: Es posible que el proceso de provisionado no funcione si vuestro Tenant no cumple el requisito de tener un mínimo de 150 Seats. En este caso, os recomiendo crear un nuevo Trial de Office 365, ya que en este caso si funciona).
  • A continuación veréis que se muestra un mensaje indicando que se está provisionando FastTrack en vuestro Tenant de Office 365.
image image
  • Si todo va bien, por un lado recibirás un correo electrónico informándote que el provisionado de FastTrack está en proceso.
  • Por otro, una vez el proceso concluya se crearán una nueva colección de sitios en SharePoint Online que no afectará a colecciones existentes y que almacena todo el contenido y herramientas que forman parte de FastTrack.
image image

Office 365: How to add Apps to the App Launcher (I)!

Customize the Office 365 App Launcher so it shows the Apps used by an user on a daily basis, it’s a task that can be accomplished easily by means of the Office 365 user interface:

  • From any Office 365 page, just click the App Launcher so you can see all the Apps pinned to the Launcher and also the “My apps” link. Click the “My apps” link.
  • In the “My apps” page, you can decide what Apps you want to pin / unpin in the Apps launcher by click the “…” link that appears next to each App
image image
  • If we choose to add an app with the option to pin the App launcher, we shall see that the App has been added to Launcher.

image