ADLS Gen2 操作失败:操作返回无效状态代码冲突。帐户:“x”端点不支持 BlobStorageEvents 或 SoftDelete

问题描述 投票:0回答:1

当前为突触分析工作区设置存储帐户,现有的突触工作区具有指向天蓝色存储帐户的链接服务,当我尝试设置类似的配置时,我收到以下错误消息。

ADLS Gen2 operation failed for: Operation returned an invalid status code 'Conflict'. Account: 'xxx'. ErrorCode: 'EndpointUnsupportedAccountFeatures'. Message: 'This endpoint does not support BlobStorageEvents or SoftDelete. Please disable these account features if you would like to use this endpoint.'. RequestId: 'x'. 
Operation returned an invalid status code 'Conflict'

如果我禁用容器和 blob 的软删除,测试连接功能可以工作,但当我启用它时,它会失败。

令我担心的是,在我们的另一个环境中,启用了容器和 blob 的软删除,并且连接正常,使用托管身份进行设置,这是一年多前完成的,但是如果我今天尝试使用新配置不行。不知道我应该在这里做什么。

enter image description here

不同的存储帐户相似的配置。

enter image description here

azure-blob-storage azure-synapse
1个回答
0
投票

ADLS Gen2 操作失败:操作返回无效状态代码“冲突”。帐号:'xxx'。错误代码:“EndpointUnsupportedAccountFeatures”。消息:“此端点不支持 BlobStorageEvents 或 SoftDelete。如果您想使用此端点,请禁用这些帐户功能。”请求 ID:'x'。 操作返回无效状态代码“冲突”

该问题源于使用标准 GPv2 存储帐户而不是 ADLS Gen2 帐户。该账户配置了DFS端点,与软删除功能不兼容,导致失败。

要解决此问题,您可以从存储帐户中禁用软删除,如下所示:

enter image description here

现在将其升级到ADLS2,如下所示:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.