Hi,
I can't set up an Excel Workbook saved on SharePoint Online as a data source with the Power BI Gateway:
M# code:
let Source = Excel.Workbook(Web.Contents("https://TENANTNAME.sharepoint.com/sites/path/to/workbook/WORKBOOKNAME.xlsx"), null, true),
This works fine in Power BI desktop.
However I can't pick Oath2 authentication in the Gateway setup for a Web data source. When trying with Windows Authentication instead I get the following error:
Status code: 400 Error Code: DM_GWPipeline_Gateway_InvalidConnectionCredentials The credentials provided for the Web source are invalid.
When will Oath2 authentication be addded to the Gateway Web data source? Or, is there another way of consuming the workbook hosted on SharePoint?