ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    O365 PS password reset from list

    IT Discussion
    2
    3
    353
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobse
      gjacobse last edited by

      Not being one to use PS.. can PS reset o365 passwords using a preset list of UserID to Password ( CSV file)?

      dbeato 1 Reply Last reply Reply Quote 1
      • gjacobse
        gjacobse last edited by

        Yup sure can:

        Set a Predefined Password for Office 365 users imported from a CSV File
        Step 1: Export Office 365 users account
        PowerShell command Syntax

        1
        Get-MsolUser | Select UserPrincipalName| Export-CSV
        Step 2: Set a Predefined Password

        1
        Import-CSV |%{Set-MsolUserPassword -userPrincipalName $_.UserPrincipalName –NewPassword <Password> -ForceChangePassword $False}
        Example: Step 1: Export Office 365 users account

        Predefined Password-CSV

        PowerShell command Example

        1
        Get-MsolUser | Select UserPrincipalName|Export-CSV C:\Temp\o365users.csv
        1
        Import-CSV C:\Temp\o365users.csv |%{Set-MsolUserPassword -userPrincipalName $_.UserPrincipalName –NewPassword AbcAs123 -ForceChangePassword $False}

        1 Reply Last reply Reply Quote 2
        • dbeato
          dbeato @gjacobse last edited by

          @gjacobse said in O365 PS password reset from list:

          Not being one to use PS.. can PS reset o365 passwords using a preset list of UserID to Password ( CSV file)?

          YEs it can.
          as you can see more options here
          https://o365info.com/manage-office-365-users-password-using/

          1 Reply Last reply Reply Quote 1
          • First post
            Last post