Forum Discussion

darko861's avatar
darko861
Resolver II
5 years ago
Solved

Anonymous access via API

Hi Community,   This subject has previously been discussed in this forum with mixed results. Here is the previous thread: https://community.powerbi.com/t5/Service/Anonymous-access/m-p/21014#M5916 ...
  • blopez11's avatar
    5 years ago

    In Power BI Desktop,
    -- I would change the M code, moving "/Webapi/api/employees" to the RelativePath option and remove the Headers option all together
    -- I would edit the permissions on the URL and changing type from Anonymous to Basic with the appropriate credentials

     

    Once published, in the Power BI Service,
    -- In the scheduled refresh settings, I would not use a gateway (looks like you are using one), and in the data source credentials, set type to basic with the appropriate credentials

     

    Good luck,