Run PS Script in Azure Runbook
Budget: $10 – $30 AUD
Hi,
I need someone to help me run a PS script on Azure Runbook that forces users to re-register for MFA. I found this
Import-Module -name MSOnline
$Cred = Get-AutomationPSCredential -Name "SrvAccount"
Connect-MsolService -Credential $cred
$p=@()
Set-MsolUser -UserPrincipalName "test user" -StrongAuthenticationMethods $p
However, it is not running. Not sure if I need to import any additional modules.
I need someone to help me run a PS script on Azure Runbook that forces users to re-register for MFA. I found this
Import-Module -name MSOnline
$Cred = Get-AutomationPSCredential -Name "SrvAccount"
Connect-MsolService -Credential $cred
$p=@()
Set-MsolUser -UserPrincipalName "test user" -StrongAuthenticationMethods $p
However, it is not running. Not sure if I need to import any additional modules.