Tag: SelectedEditMFA

The SelectedEditUser function...


Tag Attributes

AttributesAttribute ValueValue Description
KeepAliveTRUE (keeps dialog open) / FALSE - Defaults to FALSE

Opens the Edit dialog. Uses SetParam children actions to assign new values to attributes of the objects selected in the grid - Required (Like when using the Edit Function Manually)

To set a boolean/toggle field: TRUE sets it to ON, anything else sets it to OFF.

Each value is set with a separate SetParam:

  • Changing Requirement State: VALUE can be "Enabled", "Enforced" or "Disabled".
    <SetParam Field="RequirementState" Value="VALUE"/>

  • Forcing user to re-register / remove all methods:
    <SetParam Field="ForceUserToReRegister" Value="TRUE"/>

  • Change methods:
    WARNING: You can only remove existing methods. For each method you want to keep, you must add a SetParam (i.e. they must be already set beforehand).
    VALUE can be "OneWaySMS", "TwoWayVoiceOffice", "TwoWayVoiceMobile", "TwoWayVoiceAlternateMobile", "PhoneAppOTP" or "PhoneAppNotification".
    <SetParam Field="Methods" Value="VALUE"/>

  • Set default method:
    VALUE can be "OneWaySMS", "TwoWayVoiceOffice", "TwoWayVoiceMobile", "TwoWayVoiceAlternateMobile", "PhoneAppOTP" or "PhoneAppNotification".
    <SetParam Field="DefaultMethod" Value="VALUE"/>

Example Script

<ytriaAutomation Application="sapio365">
	<Select lines="ByValue">
		<SetParam ColumnID="userPrincipalName" Value="AnnaL@M365x308674.onmicrosoft.com"/>
		<!-- Insert SetParams here -->