2013-02-11

If you are using Microsoft Office 365 academic plan A2 and want to completely disable Lync Online, SharePoint Online or both for your educational institution, follow the instructions in this article. This can be done after your tenant has been converted from Office 365 for enterprises to Office 365 for education.

In this article

Launch the Windows Azure Active Directory cmdlets
Collect the information you need in order to disable the services
Disable Lync Online only
Disable SharePoint Online only
Disable both Lync Online and SharePoint Online
Verify that the services are disabled

Important: If you want to disable Lync Online and SharePoint Online, you must disable them at the same time.

Launch the Windows Azure Active Directory cmdlets

Launch the Windows Azure Active Directory cmdlets, and connect PowerShell to the service. For more information, see Use Windows PowerShell to manage your Windows Azure AD tenant.

Type your tenant Global Administrator credentials in the dialog box.

Note: If there is a newer version of the cmdlets, you’ll see yellow warning text explaining that a newer version is available. Use the newest version.

Collect the information you need in order to disable the services

The commands to disable Lync Online and SharePoint Online require the AccountSkuId , the SkuPartNumber, and the name of the service that you are disabling. The AccountSkuId is based on the plans you are subscribed to, and you use this information to get the other values.

Identify the AccountSkuId and SkuPartNumber value for each AccountSkuId.

You will need to disable Lync Online and SharePoint Online for one AccountSkuId at a time.

Run the following command:

Get-MsolAccountSku | Format-Table AccountSkuId, SkuPartNumber

Here’s an example what the output would look like for an organization with a domain named Contoso that has two AccountSkuIds. The second column in the output is referenced in the next step as SkuPartNumber. In this example, there are two SkuPartNumbers: STANDARDWOFFPACK_STUDENT and STANDARDWOFFPACK_FACULTY, but you may have additional ones.

AccountSkuId

SkuPartNumber

contoso:STANDARDWOFFPACK_STUDENT

STANDARDWOFFPACK_STUDENT

contoso:STANDARDWOFFPACK_FACULTY

STANDARDWOFFPACK_FACULTY

Identify the name of the services you want to disable. The following services can be disabled:

MCOSTANDARD (Lync Online)

SHAREPOINTWAC_EDU (SharePoint Online Web Apps)

SHAREPOINTSTANDARD_EDU (SharePoint Online)

EXCHANGE_S_STANDARD (Exchange Online)

To see which services are available for each of your AccountSkuIds, run the following commands for each SkuPartNumber identified in step 1:

$ServicePlans = Get-MsolAccountSku | Where {$_.SkuPartNumber -eq "SkuPartNumber"}

$ServicePlans.ServiceStatus

Disable Lync Online only

Create a LicenseOption object for each AccountSkuId for which you plan to disable Lync Online. The service to be disabled is MCOSTANDARD (Lync Online). The following commands create each LicenseOption object you will use in step 2:

$LicenseOption_object_name = New-MsolLicenseOptions -AccountSkuId your-AccountSkuId -DisabledPlans MCOSTANDARD

$LicenseOption_object_name.GetType()

The following example shows creating a LicenseOption object called $myO365Sku to use to disable Lync Online for the AccountSkuId contoso:STANDARDOFFPACK_STUDENT:

$myO365Sku = New-MsolLicenseOptions -AccountSkuId contoso:STANDARDWOFFPACK_STUDENT -DisabledPlans MCOSTANDARD

$myO365Sku.GetType()

To disable Lync Online for all users, run the following command for each LicenseOption object you created in step 1:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $LicenseOption_object_name

To disable Lync Online for specific users, run the following command for each user:

Set-MsolUserLicense -UserPrincipalName user-UPN –LicenseOptions $LicenseOption_object_name

Disable SharePoint Online only

Create a LicenseOption object for each AccountSkuId for which you plan to disable SharePoint Online. You must disable SHAREPOINTWAC_EDU and SHAREPOINTSTANDARD_EDU, in that order. The following commands create each LicenseOption object you will use in step 2:

$license_object_name = New-MsolLicenseOptions -AccountSkuId your-tenant-name: STANDARDWOFFPACK_STUDENT -DisabledPlans SHAREPOINTWAC_EDU, SHAREPOINTSTANDARD_EDU

$license_object_name.GetType()

The following example shows creating a LicenseOption object called $myO365Sku to use to disable SharePoint Online for the AccountSkuId contoso:STANDARDOFFPACK_STUDENT:

$myO365Sku = New-MsolLicenseOptions -AccountSkuId contoso:STANDARDWOFFPACK_STUDENT -DisabledPlans SHAREPOINTWAC_EDU, SHAREPOINTSTANDARD_EDU

$myO365Sku.GetType()

$myO365Sku is the LicenseOption object to use in the next step.

To disable SharePoint Online for all users, run the following command for each LicenseOption object you created in step 1:

Get-MsolUser | Set-MsolUserLicense –LicenseOptions $LicenseOption_object_name To disable SharePoint Online for specific users, run the following command for each user:

Set-MsolUserLicense -UserPrincipalName user-UPN –LicenseOptions $LicenseOption_object_name

Disable both SharePoint and Lync Online

Create a LicenseOption object for each AccountSkuId for which you plan to disable both Lync Online and SharePoint Online. You must disable SHAREPOINTWAC_EDU, MCOSTANDARD, and SHAREPOINTSTANDARD_EDU, in that order. The following commands create each LicenseOption object you will use in step 2:

$LicenseOption_object_name = New-MsolLicenseOptions -AccountSkuId your_AccountSkuId -DisabledPlans SHAREPOINTWAC_EDU,MCOSTANDARD,SHAREPOINTSTANDARD_EDU

$LicenseOption_object_name.GetType()

The following example shows creating a LicenseOption object called $myO365Sku to use to disable Lync Online and SharePoint Online for the AccountSkuId contoso:STANDARDOFFPACK_STUDENT:

$myO365Sku = New-MsolLicenseOptions -AccountSkuId
contoso:STANDARDWOFFPACK_STUDENT -DisabledPlans
SHAREPOINTWAC_EDU,MCOSTANDARD,SHAREPOINTSTANDARD_EDU

$myO365Sku.GetType()

To disable both Lync Online and SharePoint for all users, run the following command for each LicenseOption object you created in step 1:
Get-MsolUser | Set-MsolUserLicense –LicenseOptions $LicenseOption_object_name

To disable both Lync Online and SharePoint for specific users, run the following command for each user:

Set-MsolUserLicense -UserPrincipalName user-UPN –LicenseOptions $LicenseOption_object_name

Verify that the services have been disabled

To verify that the services have been disabled, sign in to Office 365. When a service has been disabled, it won’t show up in the user interface.

Show more