Jump to content

Recommended Posts

Posted

Apologies if this has already been asked, I was just wondering if we can disable OneDrive on 365?

 

I cant find any Powershell scripts to turn off this tick box for plan: Office 365 ProPlus for Students. I was hoping we could use the -DisabledPlans command....

 

Untitled.jpg

Posted

I don't think groups would solve this issue would it? , I'm happy with the powershell script I'm using. I don't want to activate exchange I just want students to take advantage of downloading a free copy of office which seems to be working but can't work out how to disable the OneDrive...

 

Happy to investigate groups if you think it will?

Posted
Well with the normal licences, it's a case of disabling sharepoint, but I've not paid much attention to the way the Student ProPlus is configured now, as last year it was only the download rights it gave the users =/
  • 1 month later...
Posted

Hi Matt,

 

This is the exact problem that I am looking for a solution to. Have you been able to resolve this with the use of PowerShell?

 

Thanks,

 

Kent.

Posted

Hi, we are trying to do the same (meant to be going live tomorrow), however cant disable onedrive, after going through finding sku`s and plans (ie checking on our system via powershell) I still cant get it to work. It adds the licenses to the students, but includes onedrive as well.

 

code im trying to use

$LicOptions = New-MsolLicenseOptions -AccountSkuId :OFFICESUBSCRIPTION_STUDENT -DisabledPlans ONEDRIVESTANDARD
Get-MsolUser -All | where {$_.UserPrincipalName -like ""} | Set-MsolUserLicense -AddLicenses ":OFFICESUBSCRIPTION_STUDENT" -LicenseOptions $LicOptions

Posted (edited)

We have been able to resolve this with the help of MS premier support. Try the following (the csv has one column with a heading of UserPrincipalName and each users upn following on a new line each). Also replace xxxxxxxx with your tenant name.

 

Code:

 

$filePath = "d:\upn.csv"

 

Import-Csv $filePath | ForEach {

$upn = $_.

 

$O365PP = New-MsolLicenseOptions -AccountSkuId Xxxxxxxxxxx:OFFICESUBSCRIPTION_STUDENT -DisabledPlans ONEDRIVESTANDARD

 

write-host "assigning license for $upn ..." -foregroundcolor magenta

 

Set-MsolUser -UserPrincipalName $upn -UsageLocation AU

Set-MsolUserLicense -UserPrincipalName $upn -AddLicenses Xxxxxxxxxxx:OFFICESUBSCRIPTION_STUDENT -LicenseOptions $O365PP

}

Edited by KWalker
  • Thanks 1
Posted

Thanks for the reply, just tried it and still no luck.

 

Had to change the line $upn = $_. to read $upn = $_.UserPrincipleName

 

Like before, it adds the license in, along with onedrive :/

Posted
OK, that's weird, both yours, and my original code work, using powershell to retrieve license status and logging in as user gives no onedrive, however the o365 administrator web portal shows onedrive box ticked under licenses.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...