You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
Do these cmdlets work with MFA? I am trying to use get-MCASPolicy but always get the following error.
Invoke-MCASRestMethod : Cannot validate argument on parameter 'Credential'. The "
$_.GetNetworkCredential().Password -match ($MCAS_TOKEN_VALIDATION_PATTERN)
" validation script for the argument with value "System.Management.Automation.PSCredential" did not return a result of True. Determine why the validation script failed, and then try the command again.
At C:\Program Files\WindowsPowerShell\Modules\MCAS\3.3.8\Functions\Get-MCASPolicy.ps1:71 char:63
Do these cmdlets work with MFA? I am trying to use get-MCASPolicy but always get the following error.
Invoke-MCASRestMethod : Cannot validate argument on parameter 'Credential'. The "
$_.GetNetworkCredential().Password -match ($MCAS_TOKEN_VALIDATION_PATTERN)
" validation script for the argument with value "System.Management.Automation.PSCredential" did not return a result of True. Determine why the validation script failed, and then try the command again.
At C:\Program Files\WindowsPowerShell\Modules\MCAS\3.3.8\Functions\Get-MCASPolicy.ps1:71 char:63