如何在SQL Server Management Studio中将服务主体添加到角色 - 无效的租户ID [英] How to add Service Principal to Role in the SQL Server Management Studio - Invalid Tenant Id
问题描述
我创建了服务主体。我有SQL Server Management Studio,并且已在客户Azure subs中打开与Azure Analysis Services的连接。
I have created Service Principal. I have SQL Server Management Studio and I have opened connection to Azure Analysis Services in customers Azure subs.
我创建了角色并单击了成员。单击"添加",输入"服务主体名称",单击"搜索"。 Studio成功找到服务主体和应用ID。 但是,当我单击添加时,我会收到错误。
I created Role and clicked Members. I click add and enter Service Principal Name and click Search. Studio finds successfully Service Principal and app id. However when I click Add I get errors.
在Azure Active Directory中找不到应用程序。
App could not found in Azure Active Directory.
无效的租户ID - 显示MyCompany Azure租户ID
预期租户ID -Displayes客户Azure租户ID
这是唯一的选择吗?属于Customer AD的PC?如果我有Azure VM,它根本不属于AD,会发生什么。是否可以使用当前的PC来定义Analysis Services的角色?
Is it only option to get PC which belongs to Customer AD? What happens if I had Azure VM, which belongs to no AD at all. Is it possible to use current PC for defining Roles for Analysis Services?
Kenny_I
推荐答案
您好Kenny_I,
Hi Kenny_I,
我会请求您按照
文章介绍了如何将服务主体添加到Azure Analysis上的服务器管理员角色服务服务器。
I would request you to follow this article describes how to add a service principal to the server administrator’s role on an Azure Analysis Services Server.
- 在SSMS中,连接到Azure AS服务器。
- 在服务器属性 > 安全性,单击"添加"。
- 在"选择用户或组"中,按名称搜索已注册的应用程序,选择,然后单击"添加"。
- 验证服务主体帐户ID,以及然后点击 确定
我可以将服务主体添加为服务器管理员。
I’m able to add the service-principal as server admin.
希望这会有所帮助。如果您有任何疑问,请告诉我们。
Hope this helps. Do let us know if you any further queries.
这篇关于如何在SQL Server Management Studio中将服务主体添加到角色 - 无效的租户ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!