def METHOD_NAME(auth_method):
    storage_options = verify_auth_parameters_and_configure_env(auth_method)
    blob_path = "az://" + config["env"].get("AZURE_CONTAINER")
    blob_url = blob_path + "/" + blob_dir + "/" + blob_file
    print(f"\nBlob URL: {blob_url}")
    data_item = mlrun.run.get_dataitem(blob_url, secrets=storage_options)
    data_item.put(test_string)
    # Validate append is properly blocked (currently not supported for Azure blobs)
    with pytest.raises(mlrun.errors.MLRunInvalidArgumentError):
        data_item.put("just checking!", append=True)
    response = data_item.get()
    assert response.decode() == test_string, "Result differs from original test"
    response = data_item.get(offset=20)
    assert response.decode() == test_string[20:], "Partial result not as expected"
    stat = data_item.stat()
    assert stat.size == len(test_string), "Stat size different than expected"