英文:
Azure storage sync unable to create cloud endpoint
问题
在 Azure 存储同步过程中,尝试创建云端终结点时,我遇到以下错误消息,如下所示:
我收到以下错误 -
云端终结点创建失败。
错误代码:授权失败。
详细信息:客户端 xxxxxx,对象 ID 为 xxxxxxxxx,没有权限执行操作 xxxxxxxxx。
请帮我解决上述提到的问题陈述,其中也包含了错误消息。
英文:
In azure storage sync while trying to create a cloud endpoint I am getting the below error message to enter image description here
I am getting the following error -
Cloud endpoint creation failed.
Code: Authorization failed.
Details: The client xxxxxx with object ID xxxxxxxxx doesn't have authorization to perform action xxxxxxxxx
Please help me out for the above mentioned problem statement which also contains the error message.
答案1
得分: 0
错误消息表示您的帐户没有分配角色权限和在定义的范围上的写入权限。所以,您需要添加所需的权限。
在我这边重现后,得到相同的错误,以下是所采取的步骤。
- 创建存储帐户。
- 然后在存储帐户中创建文件共享。
- 然后通过采用先前创建的存储帐户和文件共享名称创建文件同步,如下所示。
得到与创建云端所需权限相同的错误。
对于上述错误,您需要执行以下步骤:
步骤1:启用 Azure 文件共享的 AD 拥有权。
步骤2:将共享级权限设置为“启用所有经过身份验证的用户和用户的权限”。
然后保存。
然后只有云端会被创建。
如果您无法添加上述所需权限,我建议与能够为您添加所需权限的客户联系,或尝试使用具有这些权限的其他帐户。
参考 MS 文档,了解共享级权限。
英文:
The Error message represents your account doesn't have role assignment permissions and write permission on defined scope. so, you need to add required permissions.
After reproducing from my end getting the same error and below are the steps followed.
- Created Storage account.
- Then Create File share in Storage account.
- Then Create file sync by taking previously created storage a/c and file share name as shown below.
Getting the same error as to create cloud end what it needs required permissions.
For above error, you need to
Step1: Enable AD ownership to azure file share.
Step2:Set share-level-permissions to “Enable permissions for all authenticated users and users”
Then save.
Then only cloud end will create.
If you are unable to add required permissions as mentioned above, I am suggesting that connect with the client who can add you required permissions or try with other account which had these permissions.
Reference MS Document for share level permissions.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论