def METHOD_NAME(self):
    account_name = self.create_random_name(prefix='cli', length=24)
    tags = 'Tag1=Value1 Tag2=Value2'
    # active_directories = '[{"username": "aduser", "password": "aduser", "smbservername": "SMBSERVER", "dns": "1.2.3.4", "domain": "westcentralus"}]'
    # create and check
    # account = self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s' --active-directories %s" % (account_name, tags, active_directories)).get_output_in_json()
    account = self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s'" % (account_name, tags)).get_output_in_json()
    assert account['name'] == account_name
    assert account['tags']['Tag1'] == 'Value1'
    assert account['tags']['Tag2'] == 'Value2'
    # not provided in call - interpreted as kwargs. Tested at command line instead.
    # assert account['active_directories'][0]['username'] == 'aduser'
    # assert account['active_directories'][0]['smbservername'] == 'SMBSERVER'
    account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json()
    assert len(account_list) > 0
    # delete and recheck
    self.cmd("az netappfiles account delete --resource-group {rg} --account-name '%s'" % account_name)
    account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json()
    assert len(account_list) == 0
    # and again with short forms and also unquoted
    account = self.cmd("az netappfiles account create -g {rg} -a %s -l westus2 --tags '%s'" % (account_name, tags)).get_output_in_json()
    assert account['name'] == account_name
    # note: key case must match
    assert account['activeDirectories'] is None
    account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json()
    assert len(account_list) > 0
    self.cmd("az netappfiles account delete --resource-group {rg} -a %s" % account_name)
    account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json()
    assert len(account_list) == 0