Running Heartbeat and RPC for Office 365 and Azure Accounts with a PowerShell Module

This feature does not require the advanced scripting add-on license. To perform heartbeat checks and remote password changes on secrets using the Office 365 and Azure password changer for user accounts, follow the steps below:

Procedure

This applies to both the Secret Server Web server or distributed engines.
  1. Run Windows PowerShell as an admin. This opens an elevated Windows PowerShell command prompt.

  2. Run this command: Install-Module -Name AzureAD.

  3. Recycle the application pool.

These steps are required once on the subject computer, not every time you connect. However, you may want to update the module periodically as a security best practice using the command: Update-Module -Name AzureAD

Troubleshooting

  1. Uninstall AzureAD using command remove-module AzureAD.

  2. Reinstall using the above procedure.

  3. Ensure the Secret Server application pool setting Load User Profile is set to "True".

  4. Recycle the application pool.