'how to enable Phone-message via "auth0-deploy-cli" SDK

Need

on deployment of config via "auth0-deploy-cli", I want to enable “Phone Message” inside “Multi-factor Authentication”… following the exact example as seen here

this is the option: auth0-security-MFA-phone-message

but getting the response:

auth0-deploy-cli returned errors for MY_TENANT, Schema validation failed loading [
    {
        "keyword": "additionalProperties",
        "dataPath": ".guardianPhoneFactorMessageTypes",
        "schemaPath": "#/properties/guardianPhoneFactorMessageTypes/additionalProperties",
        "params": {
            "additionalProperty": "message-types"
        },
        "message": "should NOT have additional properties"
    }
]

screenshot:

auth0-deploy-cli-error

versions:

  • Which SDK this is regarding: auth0-deploy-cli
  • SDK Version: e.g. 7.5.2
  • Platform Version: e.g. Node 14

Note:

  • I am able to set Twilio field settings as per the example in the link
  • I am able to enable/disable OTP as per the example in the link
  • only this phone message option is not toggling like the others


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source