# Unable to enable Phone-message via auth0-deploy-cli

**URL:** <https://community.auth0.com/t/unable-to-enable-phone-message-via-auth0-deploy-cli/80874>\
**Category:** Get Help\
**Tags:** auth0-deploy-cli, auth0\
**Created:** [March 31, 2022, 4:21am UTC](https://community.auth0.com/t/unable-to-enable-phone-message-via-auth0-deploy-cli/80874 "2022-03-31T04:21:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akberiqbal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/akberiqbal/32/35545_2.png) [@akberiqbal](https://community.auth0.com/u/akberiqbal)\
**Post date:** [March 31, 2022, 4:21am UTC](https://community.auth0.com/t/unable-to-enable-phone-message-via-auth0-deploy-cli/80874/1 "2022-03-31T04:21:54Z")

</div>

Please include the following information in your post:

- **Which SDK this is regarding:** auth0-deploy-cli
- **SDK Version:** e.g. 7.5.2
- **Platform Version:** e.g. Node 14
- **Code Snippets/Error Messages/Supporting Details/Screenshots:**

**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](https://github.com/auth0/auth0-deploy-cli/blob/master/examples/directory/guardian/phoneFactorMessageTypes.json)

but getting the response:

```auto

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-how-to-enable-phone-message](https://global.discourse-cdn.com/auth0/original/3X/6/8/680b632660eae7a7260feca063e4f68b9bd1fa9b.png)

---

<div class="post-metadata">

**Author:** ![akberiqbal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/akberiqbal/32/35545_2.png) [@akberiqbal](https://community.auth0.com/u/akberiqbal)\
**Post date:** [April 6, 2022, 3:09am UTC](https://community.auth0.com/t/unable-to-enable-phone-message-via-auth0-deploy-cli/80874/2 "2022-04-06T03:09:54Z")

</div>

this is resolved;

my rules were in the common folder, so I was putting these files in the common folder;  
however, when I did the same in the [env][tenant] folder, it worked like it needed to

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 6, 2022, 1:03pm UTC](https://community.auth0.com/t/unable-to-enable-phone-message-via-auth0-deploy-cli/80874/3 "2022-04-06T13:03:28Z")

</div>

Glad you have figured it out and thanks for sharing with the rest of community!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 28, 2022, 11:18am UTC](https://community.auth0.com/t/unable-to-enable-phone-message-via-auth0-deploy-cli/80874/4 "2022-04-28T11:18:41Z")

</div>


