に加入していないサービスにアクセスする必要があります。しかし、顧客は、認証要求を実行する際に、このエラーを取得します。AdalServiceException:アプリケーションは、我々は、我々が持っているとのAzure ADに登録されたアプリケーションを使用して、お客様のいずれかを認証しようとしている組織が
Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS50000: There was an error issuing a token. AADSTS65005: The application needs access to a service that your organization <name_of_company> has not subscribed to. Please contact your Administrator to review the configuration of your service subscriptions. Trace ID: e8746b39-33c6-4a4c-8608-906613fe73a9 Correlation ID: 14618bd8-b58e-4301-a269-510ff22cb600 Timestamp: 2016-12-20 13:07:46Z
認証の我々の方法は基本的にこれです: AuthenticationContext commonAuthContext = new AuthenticationContext("https://login.microsoftonline.com/common"); AuthenticationResult result = await commonAuthContext.AcquireTokenAsync("https://management.core.windows.net/", _clientId, _replyUrl, new PlatformParameters(PromptBehavior.Always));
当社のAADのアプリケーションは、microsoft.comディレクトリ内にあると呼び出されます。
[有効wsfed]cisnativeinstaller
おかげ ジェフ
応答のための飛感謝を。はい、これは私にとっても意味があります。しかし、ADALライブラリには、インストーラアプリケーションがAADに登録されている可能性のあるすべてのサービスのサブセットに適切な同意を得るための機能がありますか? 完全なクライアントアプリケーションを作成する必要がありません。ありがとう –