Remove Change password on OWA office 365

M Indra Ruslan 241 Reputation points
2021-07-20T11:00:52.767+00:00

Hi,

We're using Office 365 and remote users used online outlook and they often change the password.
Is there a way to remove the change password on outlook online?

Thanks

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,210 questions
{count} vote

4 additional answers

Sort by: Most helpful
  1. Joyce Shen - MSFT 16,646 Reputation points
    2021-07-21T02:21:47.92+00:00

    Hi @M Indra Ruslan

    Like the discussion above, if they are cloud only users, we could try the below steps to prevent them from doing this from OWA:
    Disable Password Changing Option in OWA - Office 365

    Add a new Management role called “AllButPasswordChange”

    New-ManagementRole -Name AllButPasswordChange -Parent MyBaseOptions  
    

    Run the below command to see if the management Role is added to Management role Entry

    Get-ManagementRoleEntry AllButPasswordChange\Set-Mailbox  
    

    Remove that specific parameter Password

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

    Create a new RoleAssignmentPolicy, which will include the AllButChangePassword

    New-RoleAssignmentPolicy AllButPasswordChange  
    New-ManagementRoleAssignment -Role AllButPasswordChange -Policy AllButPasswordChange  
    

    Assign the new role to user

    Get-Mailbox "XXX" | Set-Mailbox -RoleAssignmentPolicy AllButPasswordChange  
    

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. M Indra Ruslan 241 Reputation points
    2021-07-20T13:11:09.01+00:00

    Hi Andy,

    Sometimes they forget the password or the password too short.

    Thanks

    0 comments No comments

  3. Andy David - MVP 142.3K Reputation points MVP
    2021-07-20T13:51:14.537+00:00

    Ok, well, there really isnt a way to completely get rid of that now.
    I would look to using passwordless auth if possible:

    https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-passwordless

    0 comments No comments

  4. .Giancarlo7 0 Reputation points
    2023-02-08T01:48:32.8133333+00:00

    New-ManagementRole -Name AllButPasswordChange -Parent MyBaseOptions

    Get-ManagementRoleEntry AllButPasswordChange\Set-Mailbox

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

    New-RoleAssignmentPolicy AllButPasswordChange

    New-ManagementRoleAssignment -Role AllButPasswordChange -Policy AllButPasswordChange

    Get-Mailbox "XXX" | Set-Mailbox -RoleAssignmentPolicy AllButPasswordChange

    These commands do not work

    Still able to change password in OWA

    It's silly how there is no way to achieve such a small thing

    There are cases where multiple users need to share a single UserMailbox and sometimes they feel like changing password and not informing anyone which can cause a lot of disruption.

    0 comments No comments