Change a User’s Password Crate
What does the Change a User’s Password Crate do?
Our Change a User’s Password Crate uses a form-driven submission to change a user’s password in any environment: on-prem, hybrid, or Microsoft Entra. Select an existing PSA ticket, or a new one will be created to document the change. Select a generated password, or enter one manually.
How the Crate works
Users complete the form, opting for a manual password or a pre-generated one.
The changes are automatically processed.
If chosen, users will be required to reset their password at the first login.
The selected ticket within your PSA is automatically updated with a log of the changes made.
Workflow breakdown
The workflow begins with the START task using the noop action, which establishes valid identity provider types and initializes the workflow context.
The validate_vars task using the noop action verifies that required variables including the default PSA and password are present before proceeding.
The process_inputs task using the noop action determines the identity provider configuration based on organization variables and input parameters, setting the IDP type to azure_ad, on_prem, hybrid_no_sync, on_prem_only, or invalid_idp.
The valid_idp_check task using the noop action validates that the determined identity provider configuration is supported by the workflow.
The check_on_prem task using the noop action evaluates whether on-premises password reset is needed based on the IDP configuration and checks if an RMM tool is available.
If on-premises reset is required, the change_on_prem_password task executes the [REWST - TASK] Run Powershell via RMM action to change the user's password on the domain controller via PowerShell script.
The check_ad_sync task using the noop action determines if Active Directory synchronization is needed for on-premises environments.
If AD sync is required, the run_ad_sync task executes the [REWST - TASK] Run Powershell via RMM action to trigger synchronization between on-premises Active Directory and cloud services.
The check_azure task using the noop action evaluates whether Azure AD password reset is needed based on the identity provider configuration.
If Azure reset is required, the change_entra_password task executes the [REWST - TASK] M365: Change User Password action to update the user's password in Microsoft 365/Entra ID.
The workflow_end task using the noop action consolidates all logging information and determines the final workflow status before proceeding to ticketing or completion.
The ticketing task using the noop action determines whether to create a new ticket or update an existing one based on whether a ticket ID was provided.
If creating a new ticket, the create_ticket task executes the [REWST - PROCESS] PSA: Create Ticket action to generate a ticket in the configured PSA system with password change details.
If updating an existing ticket, the update_ticket task executes the [REWST - PROCESS] PSA: Update Ticket action to add notes about the password change to the specified ticket.
If ticketing is skipped, the no_ticketing task using the noop action bypasses ticket creation and proceeds directly to completion.
For PSA or email configuration issues, the psa_action_failure task using the noop action handles cases where ticket operations fail.
The email_fallback task using the noop action determines whether to send a fallback email notification when PSA operations are unavailable.
If email fallback is configured, the failure_backup task executes the sendmail action to notify administrators of the workflow results via email.
The no_psa_or_email_configured task using the noop action handles scenarios where neither PSA nor email notifications are available.
The failure_catch task using the noop action captures any workflow failures and sets the success status to false.
The workflow concludes with the END task using the noop action, which compiles the final automation log with all task results, status codes, warnings, and errors for reporting purposes.
Crate prerequisites
Your PSA must be integrated with Rewst.
Your RMM integration must be integrated with Rewst.
The
psa_default_board_idorganization variable must be addedThe
default_psaorganization variable must be added
Unpack the Change a User’s Password Crate
Navigate to Crates > Crate Marketplace in the left side menu of the Rewst platform.
Search for
Change a User’s Password.Click on the Crate tile to begin unpacking.

Ensure that you have the required org variables setup for the Crate. Ready org variables will have a checkmark next to them under the Required Org Variables section, as seen in the screenshot below. An organization variable without a check mark will still need to be set up before proceeding with unpacking the Crate. When confirmed, click Unpack Crate.
Click Continue.
Click Unpack.
Integration overrides will automatically be added during the Crate's unpacking process.
Test the Crate
Fill out the form as indicated in instructions below. This will kick off the workflow unpacked with the Crate.
Navigate to Automations > Workflows in the left side menu of your Rewst platform.
Search for
[REWST - PROC] User: Change Password.Click on the workflow to open it in the Workflow Builder.
View the workflow results by clicking
from the workflow. If the Crate is functioning correctly, your results log won't contain errors.
Use the form
Navigate to Automations > Forms in the left side menu of your Rewst platform.
Search for
[REWST - PROC] User: Change Password.Click ⋮ > Usages > View Direct URLs.
Click on the link for the organization which contains the user you wish to manage. This will launch the form in a new tab.
Fill out the form as follows:
Ticket Number - Select an existing ticket to write ticket updates to. If no ticket is provided, a new one will be created.
User - Select the user you would like to initiate the password change for.
User Entra Override - This field is only applicable to hybrid environments that aren't synced, where the user's username is different in Microsoft Entra than in on-premises.
Require Password Change - Check this box on to require a change of password.
Password - Select a generated password or enter one manually.
Click Submit.

Troubleshoot the Change a User’s Password Crate
If you experience a PSA or RMM error, make sure you have set the org variables default_psa and default_rmm. For any other error, please reach out to Rewst Support.
Last updated
Was this helpful?

