Forum Discussion
Dolev Cohen
Microsoft
Aug 01, 2018Query log analytics api in PPE environment
I'm trying to access to log analytics API in PPE environment - https://api.int.loganalytics.io.
I followed the steps in the documentation - https://dev.loganalytics.io/documentation/Tools/CSharp-Sdk
It works for me in the production environment, but in INT environment I'm getting this error: "AADSTS65001: The user or administrator has not consented to use the application with ID 'ca7f3f0b-7d91-482c-8e09-c5d840d0eac5' named 'Log Analytics API'. Send an interactive authorization request for this user and resource.\r\nTrace ID: 7460168c-c688-4380-bb8f-e70d2bd30400\r\nCorrelation ID: 669a4ef1-4aa3-4864-afb1-1b159770a3c6\r\nTimestamp: 2018-07-31 15:23:03Z"
I have granted the permissions to log analytics API as described here - https://dev.loganalytics.io/documentation/Authorization/AAD-Setup
Any ideas what could be wrong?
No RepliesBe the first to reply