我们无法访问LUIS.ai门户。出现提示,指出使用Active Directory验证凭据时出错,尽管我有一个使用相同凭据和资源创建的Azure帐户。请找到随附的屏幕截图并登录。
{
"Error": "interaction_required",
"ErrorDescription": "AADSTS50105: The signed in user '{EmailHidden}' is not assigned to a role for the application '65920ba3-ab61-4a9b-9b10-505e5ce61b58'(luis.ai.live). - Trace ID: 2bbd72d5-4251-4e20-b018-5dcb6a5a2d00 - Correlation ID: 9e5d2000-7ff1-40ed-b358-797c6ef2b45c - Timestamp: 2020-01-02 05:28:01Z"
}
答案 0 :(得分:1)
在Azure门户中导航到Azure Active Directory
-> Enterprise applications
->使用Application Type
选择All applications
->通过luis.ai.live
搜索->单击应用-> Users and groups
->将您的用户帐户添加为角色(至少您需要成为应用程序的Owner
才能添加用户)。
或者您可以导航到应用程序的Properties
,将User assignment required
设置为No
,这也可以解决问题。
还要注意,这两种方式都需要将Properties
-> Enabled for users to sign-in
设置为Yes
。