Mr.Ben Posted February 10, 2012 Posted February 10, 2012 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
PiqueABoo Posted February 10, 2012 Posted February 10, 2012 I'm not confirming that it works, but you can turn off password reset on the service manglement portal (eduadmin.live.com). 1
Mr.Ben Posted February 10, 2012 Author Posted February 10, 2012 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.
Mr.Ben Posted February 15, 2012 Author Posted February 15, 2012 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.
Davit2005 Posted February 15, 2012 Posted February 15, 2012 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.
jamesbmarshall Posted February 15, 2012 Posted February 15, 2012 It's probably possible using RBAC. I've been reading about this (yesterday in fact) for Office 365. Would need to check if it also works for Outlook Live.
Mr.Ben Posted February 15, 2012 Author Posted February 15, 2012 Hi James, I thought it may be down to the Access Controls - Can you send me the info that you were looking at for Office 365?
jamesbmarshall Posted February 15, 2012 Posted February 15, 2012 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: 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: 2
Mr.Ben Posted February 17, 2012 Author Posted February 17, 2012 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
jamesbmarshall Posted February 17, 2012 Posted February 17, 2012 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.
ihaveaproblem Posted February 17, 2012 Posted February 17, 2012 I would try this, but a bit confused after your last two posts ^^
PiqueABoo Posted February 17, 2012 Posted February 17, 2012 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
Mr.Ben Posted February 17, 2012 Author Posted February 17, 2012 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now