Jump to content

Remove Password Change option form OWA for Live@Edu


Recommended Posts

Posted

Hi guys,

 

Has anyone else done this?

 

Having set up PCNS at our site I now want to remove the option to change a password in the OWA interface for all of my users, so that they can't create 'unsynced' passwords for their live@edu mailboxes.

 

I assume that this is done in Powershell, but don't know where to start

 

Thanks in advance!

 

Ben

Posted

That's taken away the users ability to request a password reset - so part of the problem is solved Thanks @PiqueABoo

 

They can still change their passwords when they have logged in though.

Posted
Did you get any further with this?

 

Not as yet! - To be honest though, i haven't looked at it in a few days.

 

I'll bump this up to the Live@edu team to see if it can be done.

Posted
Hi guys,

 

Has anyone else done this?

 

Having set up PCNS at our site I now want to remove the option to change a password in the OWA interface for all of my users, so that they can't create 'unsynced' passwords for their live@edu mailboxes.

 

I assume that this is done in Powershell, but don't know where to start

 

Thanks in advance!

 

Ben

 

I have done this, I can't remember the method, I setup Live@EDU at a previous school a while ago. If you google the question you should get a result.

Posted

The following is a work in progress, use at your own risk!



 

I'm going to write this up, but here's the working version, borrowing largely from the inspiration post:

 

 

  • Open up a remote PowerShell session to your Outlook Live tenant.
  • Export MyBaseOptions_DefaultMailboxPlan management role entries for reference:

Get-ManagementRoleEntry MyBaseOptions_DefaultMailboxPlan\* | ConvertTo-Html > C:\MyBaseOptions_DefaultMailboxPlan.htm

 

 

  • Copy the existing MyBaseOptions_DefaultMailboxPlan management role as a new role:

New-ManagementRole –Parent MyBaseOptions_DefaultMailboxPlan –Name MyCustomOptions_DefaultMailboxPlan

 

 

  • Remove all Set-Mailbox parameters from the new role:

Remove-ManagementRoleEntry MyMailbox\Set-Mailbox

 

 

  • Add Set-Mailbox parameters back to new role, except the password reference:

Add-ManagementRoleEntry MyMailbox\Set-Mailbox –Parameters AcceptMessagesOnlyFrom, AcceptMessagesOnlyFromDLMembers, AcceptMessagesOnlyFromSendersOrMembers, DeliverToMailboxAndForward, ErrorAction, ErrorVariable, ExternalOofOptions, ForwardingAddress, ForwardingSmtpAddress, GrantSendOnBehalfTo, Identity, Languages, MailTip, MailTipTranslations, OutBuffer, OutVariable, RejectMessagesFrom, RejectMessagesFromDLMembers, RejectMessagesFromSendersOrMembers, RequireSenderAuthenticationEnabled, UserCertificate, UserSMimeCertificate, WarningAction, WarningVariable

 

 

 

  • Now, in ECP, under Roles & Auditing open up the User Role for the DefaultMailboxPlan, scroll down and you'll see something (hopefully) like:

 

rolesgrab.PNG

 

 

  • Uncheck the MyBaseOptions_DefaultMailboxPlan role, and select the MyCustomOptions one.

 

Give it some time to sink in, and in theory you should've lost the link to reset passwords via OWA:

 

passwordgrab.PNG

  • Thanks 2
Posted

Hi @jamesbmarshall

 

Fingers crossed that solved the issue!

 

It's not obvious for those of us that don't work with exchange too often that 'MyMailbox\Set-Mailbox' needs to refer to 'MyCustomOptions_DefaultMailboxPlan\Set-Mailbox' in your example.

 

Thanks again

 

Ben

Posted
It's not obvious for those of us that don't work with exchange too often that 'MyMailbox\Set-Mailbox' needs to refer to 'MyCustomOptions_DefaultMailboxPlan\Set-Mailbox' in your example.

 

Oops! You're right. I would go back and edit, but I can't. :(

Posted

I strongly suspect exposure to powershell accelerates brain cell death rate (proportionally to number of cmdlet syllables, total line lengths etc.), or at least it routinely does my head in. I'm pretty sure this will do the same trick *and* help save your IQ:

 

New-ManagementRole –Parent MyBaseOptions_DefaultMailboxPlan –Name MyCustomOptions_DefaultMailboxPlan

Set-ManagementRoleEntry MyCustomOptions_DefaultMailboxPlan\Set-Mailbox –Parameters Password -RemoveParameter

 

Then go click in ECP Roles & Auditing as Jame's post above. If you want to undo those changes for any reason, go run this:

 

Remove-ManagementRole MyCustomOptions_DefaultMailboxPlan

Posted

It's just a small change - again use at your own risk!

 

•Open up a remote PowerShell session to your Outlook Live tenant.

 

•Export MyBaseOptions_DefaultMailboxPlan management role entries for reference:

 

 

Get-ManagementRoleEntry MyBaseOptions_DefaultMailboxPlan\* | ConvertTo-Html > C:\MyBaseOptions_DefaultMailboxPlan.htm

 

•Copy the existing MyBaseOptions_DefaultMailboxPlan management role as a new role:

 

New-ManagementRole –Parent MyBaseOptions_DefaultMailboxPlan –Name MyCustomOptions_DefaultMailboxPlan

 

•Remove all Set-Mailbox parameters from the new role:

 

Remove-ManagementRoleEntry MyCustomOptions_DefaultMailboxPlan\Set-Mailbox

 

•Add Set-Mailbox parameters back to new role, except the password reference:

 

Add-ManagementRoleEntry MyCustomOptions_DefaultMailboxPlan\Set-Mailbox –Parameters AcceptMessagesOnlyFrom, AcceptMessagesOnlyFromDLMembers, AcceptMessagesOnlyFromSendersOrMembers, DeliverToMailboxAndForward, ErrorAction, ErrorVariable, ExternalOofOptions, ForwardingAddress, ForwardingSmtpAddress, GrantSendOnBehalfTo, Identity, Languages, MailTip, MailTipTranslations, OutBuffer, OutVariable, RejectMessagesFrom, RejectMessagesFromDLMembers, RejectMessagesFromSendersOrMembers, RequireSenderAuthenticationEnabled, UserCertificate, UserSMimeCertificate, WarningAction, WarningVariable

 

Then follow the guidelines that James wrote to assign this role to all of your mailboxes in the ECP

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...