Office 365: What permissions are required to execute PowerShell for SPO?

The answer is that it depends on how you create your scripts and which PowerShell evironment is used to run them:

  • If the scripts are executed in the SharePoint Online Management Shell and you are connecting to the service by means of the Connect-SPOService cmdlet, you need to be Global Admin or at least a SharePoint Online Admin.
  • If the scripts are executed in the SharePoint Online Management Shell, Windows PowerShell, PowerShell ISE or Visual Studio and you are using Client Side Object Model to work with SPO, you only need to be site collection administrator.

Anuncios

Un pensamiento en “Office 365: What permissions are required to execute PowerShell for SPO?

  1. Pingback: SharePoint & Office 365: Resumen de posts (XV)! | Pasión por la tecnología...

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s