Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
naijacoder
Frequent Visitor

using Excel REST APIs sharepoint online in power bi

Hi All,
      I'm a newbie here but need to get up to speed with PowerBI.
I'm trying to visualise Audit Logs( I have setup some logs that writes to excel online) in sharepoint results using Power BI.
I'm sure this should be possible and i try connecting through ths url below:-

http://xxx.sharepoint.com/_vti_bin/ExcelRest.aspx/Audit/Run_a_custom_report_2016-08-20T212904.xslx/M...

 

But can't get it to work and not sure if this is for only Sharepoint on premise and not online after going through this URL

https://msdn.microsoft.com/en-us/library/office/ff394530.aspx

 

Also i did setup a content activity report in my sharepoint online

-Content viewing  doesn't work and returns error sorry something went wrong

-Content vmodification works and outputs an excel online which i'm tying to use

 

Thanks in Advance nd hope someone can direct me in a good direction

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@naijacoder wrote:

Hi All,
      I'm a newbie here but need to get up to speed with PowerBI.
I'm trying to visualise Audit Logs( I have setup some logs that writes to excel online) in sharepoint results using Power BI.
I'm sure this should be possible and i try connecting through ths url below:-

http://xxx.sharepoint.com/_vti_bin/ExcelRest.aspx/Audit/Run_a_custom_report_2016-08-20T212904.xslx/M...

 

But can't get it to work and not sure if this is for only Sharepoint on premise and not online after going through this URL

https://msdn.microsoft.com/en-us/library/office/ff394530.aspx

 

Also i did setup a content activity report in my sharepoint online

-Content viewing  doesn't work and returns error sorry something went wrong

-Content vmodification works and outputs an excel online which i'm tying to use


@naijacoder

Most part of your post is regarding Sharepoint online development, I think a dedicated forum for SP online is a better place for your question. And as per the BOL link, it says,

 

  • The Excel Services REST API applies to SharePoint 2013 and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel REST APIs that are part of the Microsoft Graph endpoint.

So it seems the SP online use different REST APIs.

 

Regarding Power BI side in your scenario, I suppose you mean Power BI desktop. There's only one SP online list as source, however it is possible to call a REST API sending authentication token in Power Query, which may make your requirement possible.

Check a sample Getting data into Power Query with the twitter search API (how to hack PQ to use OAuth).

View solution in original post

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@naijacoder wrote:

Hi All,
      I'm a newbie here but need to get up to speed with PowerBI.
I'm trying to visualise Audit Logs( I have setup some logs that writes to excel online) in sharepoint results using Power BI.
I'm sure this should be possible and i try connecting through ths url below:-

http://xxx.sharepoint.com/_vti_bin/ExcelRest.aspx/Audit/Run_a_custom_report_2016-08-20T212904.xslx/M...

 

But can't get it to work and not sure if this is for only Sharepoint on premise and not online after going through this URL

https://msdn.microsoft.com/en-us/library/office/ff394530.aspx

 

Also i did setup a content activity report in my sharepoint online

-Content viewing  doesn't work and returns error sorry something went wrong

-Content vmodification works and outputs an excel online which i'm tying to use


@naijacoder

Most part of your post is regarding Sharepoint online development, I think a dedicated forum for SP online is a better place for your question. And as per the BOL link, it says,

 

  • The Excel Services REST API applies to SharePoint 2013 and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel REST APIs that are part of the Microsoft Graph endpoint.

So it seems the SP online use different REST APIs.

 

Regarding Power BI side in your scenario, I suppose you mean Power BI desktop. There's only one SP online list as source, however it is possible to call a REST API sending authentication token in Power Query, which may make your requirement possible.

Check a sample Getting data into Power Query with the twitter search API (how to hack PQ to use OAuth).

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.