Forum Discussion
BroomJ
8 years agoFrequent Visitor
Connecting to Microsoft Graph API to report on Email Activity, Do I need an authentication token?
Hello, At the very core, I'm essentially aiming to recreate the Office 365 Admin Center Email Activity report that shows the number of Send, Receive and Read actions on emails for each user withi...
BroomJ
8 years agoFrequent Visitor
Hi Lydia,
I did see both your previous post and the documentation, but I'm not 100% familiar with how to set up the access/token request for use with Power BI specifically.
If you would be able to point me in the right direction that would be greatly appreciated.
Anonymous
8 years agoNot applicable
BroomJ,
Replace <Your token> in the following code with your token, then paste the code to the Advanced Editor of a blank query, do you get any error messages?
let
Source = OData.Feed("URL", null, [Headers = [Authorization = "Bearer <Your token>" ] ])
in
Source
Regards,
Lydia