Azure移动服务身份验证错误

时间:2014-09-24 21:30:06

标签: azure active-directory azure-mobile-services

我创建了一个Mobile Service应用程序,并将默认模板部署到Azure。当我尝试访问它时,会提示我使用Windows身份验证弹出窗口。

然后我将其配置为使用Azure Active Directory(根据此处的文档:http://azure.microsoft.com/en-us/documentation/articles/mobile-services-how-to-register-active-directory-authentication/和此处:http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-xamarin-ios-get-started-users/#add-authentication),通过向AD添加应用程序并指定客户端ID'秒。和app uri在两者之间,并将域设置为移动服务的租户。我还安装了Backend Security,并在后端设置AzureActiveDirectoryExtendedLoginProvider作为登录提供程序。

但是,它仍然提示我使用Windows身份验证弹出窗口,但现在当我转到.azure-mobile.net / login / aad时,它会按预期将我发送到Active Directory登录页面,但出现以下错误

AADSTS70001: Application with identifier xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx was not found in the directory yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy

应用程序标识符是正确的标识符,但目录标识符不属于我的活动目录,该目录是我拥有的唯一目录,并且在移动服务中配置为租户。当我尝试从移动应用程序登录移动服务时,它只给我一个空白页面。

我还尝试使用不同的域/租户创建另一个AD,但它仍然在错误消息中提供了相同的目录guid。

0 个答案:

没有答案