def METHOD_NAME(self, appconfiguration_connection_string):
    client = self.create_client(appconfiguration_connection_string)
    key = self.get_resource_name("key")
    feature_flag = FeatureFlagConfigurationSetting(
        key, enabled=True, filters=[{"name": FILTER_PERCENTAGE, "parameters": {"Value": 10, "User": "user1"}}]
    )
    set_flag = client.set_configuration_setting(feature_flag)
    set_flag.value = json.dumps(
        {
            "conditions": {
                "client_filters": [
                    {
                        "name": "Microsoft.Targeting",
                        "parameters": {
                            "name": "Microsoft.Targeting",
                            "parameters": {"Audience": {"DefaultRolloutPercentage": 50, "Groups": [], "Users": []}},
                        },
                    }
                ]
            },
            "description": "",
            "enabled": False,
            "id": key,
        }
    )
    set_flag = client.set_configuration_setting(set_flag)
    assert isinstance(set_flag, FeatureFlagConfigurationSetting)
    assert set_flag.enabled == False
    assert set_flag.key.endswith(key)
    client.delete_configuration_setting(set_flag)