def METHOD_NAME(self):
    # only tags are checked here due to complications of active directory in automated test
    account_name = self.create_random_name(prefix='cli', length=24)
    tag = "Tag1=Value1"
    account = self.cmd("az netappfiles account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json()
    account = self.cmd("az netappfiles account update --resource-group {rg} -a %s --tags %s -l westus2" % (account_name, tag)).get_output_in_json()
    assert account['name'] == account_name
    assert account['tags']['Tag1'] == 'Value1'
    assert account['activeDirectories'] is None