1

我有需要部署到Azure Analysis Services的SSDT表格项目。如何将Azure Active Directory组添加到SSDT表格项目中的角色?

我在表格模型浏览器中创建了新角色,但是当我尝试添加在Azure Active Directory中创建的作为此角色成员的组时,我在部署时收到错误。

如果我尝试使用Add和我的组织AD发现它这个群体增加,我得到这个错误:

Cannot deploy metadata. Reason: Failed to save modifications to the server. Error returned: 'The identity 'myorganization\mygroup' has invalid identity provider ''. Only Azure Active Directory users or groups are supported. Use 'AzureAD' as the value of the identity provider.

如果我使用Add External(我试过几个拼写 - mygroup[email protected][email protected]mygroupid),我得到这个:

Failed to save modifications to the server. Error returned: 'The identity 'mygroup' was not found in Azure Active Directory. Details: Unable to resolve user or group 'mygroup'

Technical Details: RootActivityId: 4c2db4b3-9046-4ccb-bbcc-c99066a3665d Date (UTC): 9/13/2017 11:14:12 PM '.

我可以没有任何角色部署的项目,我可以加我的个人账户([email protected])就好了。

我正在使用VS Professional 2015版本14.0.25431.01(Update 3)和SSDT 14.0.61707.300。

将AAD组用作角色成员的正确方法是什么?

+1

您是否检查此[博客](https://blogs.msdn.microsoft.com/sqlblog/2017/01/24/azure-analysis-services-howto-add-security-group/)? –

+0

@ Walter-MSFT我将尝试为mygroup启用电子邮件,但我不希望它成为AAS管理员 - 我想为部署的模型之一提供读取访问权限 – arghtype

回答

1

正确的方式来增加组使用Add External并在下面的格式提供ID:

obj:<group-id>@<directory-id> 

我从SSMS通过加入我的团队,然后使用“脚本视图”,看看有什么是有这个实际上添加。

可以在属性选项卡中的Azure活动目录服务中的Azure门户中找到目录标识。

+0

”在哪里找到? – Sauron

+0

我明白了,谢谢! – Sauron

相关问题