2017-08-09 5 views
1

issueのためにcorrelation idを提供しようとしていますが、入手方法がわかりません。私はそれが応答でなければならないと思います、それは正しいですか?それはクライアントリクエストIDでしょうか?グラフAPI応答の相関IDはどこにありますか?

HTTPレスポンス

HTTP/1.1 403 Forbidden 
Cache-Control: no-cache 
Pragma: no-cache 
Content-Type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 
Expires: -1 
Server: Microsoft-IIS/8.5 
ocp-aad-diagnostics-server-name: CGa9FFPZASZM+usTGvTzaOZ4zSMxhpbWh2mO9+eJZWs= 
request-id: 6ddd7a86-02c9-4dcf-9932-b17afc976107 
client-request-id: 50478d75-542d-4e0e-96d9-de913d632471 
x-ms-dirapi-data-contract-version: 1.6 
ocp-aad-session-key: some-really-long-value 
X-Content-Type-Options: nosniff 
DataServiceVersion: 3.0; 
Strict-Transport-Security: max-age=31536000; includeSubDomains 
Access-Control-Allow-Origin: * 
X-AspNet-Version: 4.0.30319 
X-Powered-By: ASP.NET 
Duration: 782602 
X-Powered-By: ASP.NET 
Date: Wed, 09 Aug 2017 14:22:21 GMT 
Content-Length: 139 

{"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient privileges to complete the operation."}}} 

トークン要求応答は

HTTP/1.1 200 OK 
Cache-Control: no-cache, no-store 
Pragma: no-cache 
Content-Type: application/json; charset=utf-8 
Expires: -1 
Server: Microsoft-IIS/8.5 
Strict-Transport-Security: max-age=31536000; includeSubDomains 
X-Content-Type-Options: nosniff 
client-request-id: 8c500700-b75c-403a-a2c9-c6dfa27049d3 
x-ms-request-id: 75627b63-fbd6-4fa8-95b5-b6a325d60900 
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN" 
Set-Cookie: esctx=some-value; domain=.login.microsoftonline.com; path=/; secure; HttpOnly 
Set-Cookie: x-ms-gateway-slice=006; path=/; secure; HttpOnly 
Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly 
X-Powered-By: ASP.NET 
Date: Wed, 09 Aug 2017 18:33:33 GMT 
Content-Length: 1437 

{"token_type":"Bearer","expires_in":"3599","ext_expires_in":"262800","expires_on":"1502307214","not_before":"1502303314","resource":"https://graph.windows.net/","access_token":"some-token-value"} 

答えて

0

相関ID(とも呼ばれるクライアント要求-ID)アズールADサービスとの相互作用に見出すことができます。

Azure ADエンドポイントにトークンを要求した直前の要求には、応答のIDが含まれます。

https://login.microsoftonline.com/...

https://login.windows.net/...

+0

私はトークンを取得するとき、私は応答を追加しました。まだ相関IDは表示されません。 – spottedmahn

+1

@spottedmahnねえ、私は答えを更新しました。 client-request-idは同等です! –

関連する問題