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

    O365 PS password reset from list

    Scheduled Pinned Locked Moved IT Discussion
    3 Posts 2 Posters 404 Views
    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.
    • gjacobseG
      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)?

      dbeatoD 1 Reply Last reply Reply Quote 1
      • gjacobseG
        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
        • dbeatoD
          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
          • 1 / 1
          • First post
            Last post