Forum Discussion
Anonymous
6 years agoNot applicable
Connecting Microsoft Teams File to Gateway
Hello, I have connected my Power BI Desktop report to a Teams file. Now I am trying to schedule refreshes via my on-premise gateway. I have tried every authentication method but can not get the ...
v-lid-msft
Community Support
6 years agoHi Anonymous ,
Could you please try to use Realtive path in web.contents function, such as change following:
Web.Contents("https://XXX.sharepoint.com/SiteXXX/2020.xls")
to following:
Web.Contents("https://XXX.sharepoint.com/",[RelativePath="SiteXXX/2020.xls"])
or
Web.Contents("https://XXX.sharepoint.com/SiteXXX/",[RelativePath="2020.xls"])
Best regards,
Anonymous
6 years agoNot applicable
Hello v-lid-msft ,
Thank you for the idea. Unfortunately, when I tried both positions of adding in "RelativePath" in Desktop I could not load the File. I am able to load the file without RelativePath but can not connect it to my Gateway.
Any other thoughts?
Thanks,