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...
Anonymous
8 years agoNot applicable
BroomJ,
Please review my reply in the following similar thread.
https://community.powerbi.com/t5/Desktop/Power-BI-Desktop-Unable-to-pull-from-OData-feed-using-Token/m-p/130384#M55562
And you can follow the instructions in this article to get your access token.
Regards,
Lydia
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.
- Anonymous8 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