【发布时间】:2018-03-09 21:46:41
【问题描述】:
我有一个移动应用程序并想使用 Microsoft Graph-API 进行身份验证。 我正在使用 Microsoft.Identity.Client 命名空间。我可以通过调用在那里获取令牌
authResult = await App.PublicClientApp.AcquireTokenAsync(_scopes);
当我通过调用将此令牌传递给我的移动应用时
azureUser = await App.MobileService.LoginWithMicrosoftAccountAsync(authResult.AccessToken);
我收到 MobileServiceInvalidOperationException“您无权查看此目录或页面”。
我已在应用程序注册门户中注册了我的应用程序。 Registration Portal
在 Azure 中它看起来像这样: Azure Portal
我错了什么???
亲切的问候,
马丁
【问题讨论】:
标签: azure azure-mobile-services