Hi,
we want to import Appannie (www.appannie.com) app download data into a PowerBI data model. Their API is fairly simple; I can connect in PowerBI desktop through the following blank query and get a proper JSON back.
= Web.Contents(
"https://api.appannie.com/v1.2/accounts/[ACCOUNTID]/products/[PRODUCTID]/sales?break_down=date&start_date=2016-01-01",
[
Headers=[#"Authorization" = "Bearer [APIKEY]]
])
(please note I've anonymized API key, accontID and productID.
Their authentication is done through a API key bearer approach (https://support.appannie.com/hc/en-us/categories/200261564-Analytics-API-v1-2-) My hope was that we could also use this in the PowerBI service, but if we publish the PBIX file, I get a failed refresh with a 400 error.
Are custom headers not supported in the PowerBI service?
Is there any known workaround?