Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

How to setup personal gateway for Office365 excel (OneDrive)

Hello All,

 

How to setup a personal gatway for office 365 excel stored in OneDrive. After deployment, Dataset is not refreshing so just checking if Setting up of Gateay may solve the issue.

 

Thanks,

PBI V2

  • JoeBarry's avatar
    JoeBarry
    3 years ago

    Hi Anonymous 

     

    The URL that you displaying, is this coming from how I & the video described how to get it? This is a very important step as it gives you the exact location of the file. But if it works in Desktop, then it should also work in the Service.

     

    Within the Refresh settings of the report, have you edited the credentials also? 

    Thanks

    Joe

9 Replies

  • JoeBarry's avatar
    JoeBarry
    Icon for Solution Sage rankSolution Sage

    Hi Anonymous 

     

    How did you connect to the excel? Are you using the Web connector or is it connected locally on your device?

     

    If it's connected locally, then you will have issues. If you connect directly to OneDrive online, you don't need a Gateway. 

     

    Presuming that there is a Sync between your device's OneDrive and the cloud, to connect through the web connector. please do the following.

     

    • Open the Excel app
    • Go to file Under last used, you will see the file name. Right click and copy the file url 
    • Go to Power BI Desktop and choose the Web connector and paste the URL and remove the section below 
    • Click ok 

    There no need to set up a refresh as it will do it automatically when the report is opened.

     

    Thanks

    Joe

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello JoeBarry 

      Thanks for your response

      We are using Web Connector to comsume office365 excel  which is available in OneDrive. We are able to refresh in Power BI Desktop as per your reply but we are not able to do the same when we deploy this report into my Workspace.

       

      Thanks,

      PBI V2

  • Hello, As of my knowledge, I setting up a Personal Gateway for Excel in OneDrive on Office 365:

    1. Install the Gateway:

    Download the On-Premises Data Gateway from the Power BI service.
    Install and run it on your machine.
    2. Configuration:

    Sign in using your Office 365 credentials.
    Set a name and recovery key for the gateway.
    3. Link with Power BI:

    In Power BI Service, go to Settings > Gateways.
    Find your gateway and link the data source (OneDrive in this case) to it.
    4. Refresh Dataset:

    After setting up the gateway, go to your dataset in Power BI Service.
    Use the Refresh Now option.

    This should address the refresh issue. Ensure the machine with the gateway stays online for refreshes. If issues persist, double-check data source credentials and paths in Power BI.

     

    I hope this will help you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hello JoeBarry 

    If we have below Web connection in Power BI Desktop which is working fine in Power BI Desktop
    1) Connection Type - Web
    2) Web URL: https://biibmy.sharepoint.com/:x:/r/personal/company_com/_layouts/15/Doc.aspx?sourcedoc=%7lA7717D73-59pe-43A9-877A-5e5A185E7325%7D&file=SalesData.xlsx
    3)Credential - Organizational Account
    4) Privacy Level -- Any


    After deploying the report in Power BI. The same will not work in Power BI Service because such authentication option will not come in service when we edit the data source.

    Let us know if You are also agree with it ot any workaround.

     

    Thanks,

    PBI V2 

    • JoeBarry's avatar
      JoeBarry
      Icon for Solution Sage rankSolution Sage

      Hi Anonymous 

       

      The URL that you displaying, is this coming from how I & the video described how to get it? This is a very important step as it gives you the exact location of the file. But if it works in Desktop, then it should also work in the Service.

       

      Within the Refresh settings of the report, have you edited the credentials also? 

      Thanks

      Joe

    • ervinw's avatar
      ervinw
      New Member

      I could set Gateway in Power BI cloud for an Excel, the step was needed to use OAuth2 for authentication.