Power BI – Configuring SharePoint/Folder refreshing using On-Premise Gateway

I had a requirement to connect and refresh their files stored in SharePoint On-Premise using the On-Premise Gateway. And are the steps that you can follow in order to connect to files stored within SharePoint On-Premise or files stored in Folders.

In my working example below I am going to connect to a SharePoint Folder. You can apply the same steps for a Folder as well.