问题创建Azure SQL池的主密钥 - 权限错误
我正在尝试关注本教程,但是我在授予控制权限方面存在问题。
这是在Azure内部专用的SQL池(以前是SQL DW)上,通过关注此教程。
我最初尝试创建主密钥加密,由password ='23987Hxj#kl95234nl0zbe';
返回
用户无权执行此操作。
因此,我尝试将控制权限应用于用户帐户: 的授予控制
数据库上
本金不存在或没有足够的特权。
我已经搜索了网络的解决方案,但是我找不到尚未有效的解决方案,因此任何帮助或建议都将不胜感激!
I'm trying to follow this tutorial but I'm having issues with granting CONTROL permission.
This is on a Dedicated SQL pool (formerly SQL DW) within Azure by following this tutorial.
I initially try CREATE MASTER KEY ENCRYPTION BY PASSWORD = '23987hxJ#KL95234nl0zBe';
which returns
User does not have permission to perform this action.
So I try to apply CONTROL permission to the user account:GRANT CONTROL ON DATABASE::master TO useradmin
But this returns
Principal doesn't exist or doesn't have sufficient privileges.
I have search the web for a solution but I cant find one that has yet worked so any help or advice would be much appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要在Azure SQL中创建主密钥,请在Azure SQL数据库中以下语句。
有关更多详细信息,请参阅此 so thread Alberto Morillo,也请参考此< href =“ https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/load-data-data-from-azure-azure-blob-storage-using-copy-usis-copy#create-xcreate-external-ternersnert-terners-terners-terners-parce -For-to-sample-data“ rel =” nofollow noreferrer“> Microsoft官方文档。
更新:
我在环境中复制了相同的东西,它的工作正常。
示例代码:
To create MASTER key in azure SQL, follow below statement in Azure SQL data base.
For more details refer this SO Thread by Alberto Morillo and also refer this Microsoft official document.
Updated:
I reproduced same thing in my environment its working fine .
sample code: