Forum Discussion

danextian's avatar
danextian
Icon for Super User rankSuper User
2 years ago

Unable to set data source credentials to public webpages

Hello,

 

This was never the case before. This used to be very straightforward. I would just go the data source credentials and set it to anonymous but now the data source credentials is grayed out and it is kind of asking me to setup a gateway connection for a cloud source. I used Web.Contents and relative path so there's no issue with the source being a dynamic one.

 

3 Replies

  • tez147's avatar
    tez147
    Regular Visitor

    Hi danextian 

    When you select 'Web' connector to connect to public data, Power Query creates function 'Web.BrowserContents'("URL"). You can check this in advance editor in the Power Query.

    We need to modify this function to 'Web.Contents'("URL"), refresh the report and publish it into the Power BI service. Remember to delete existing symantic model from Service before publishing the new one. 

    Now it will say that "You don't need a gateway... and you can configure connection under the "Data Source Credentials". You can also set "anonymous" as authentication type. 

    Please mark it as a solution if it has solved your issue.

     

    Regards,

    Tez147

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, danextian 

    Thanks for tez147 reply. You can configure a personal gateway to solve the problem.



    Best Regards,
    Yang

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know.
    Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum