Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello all,
I wrote in Power BI Desktop a code, where I can access an LinkedIn API anonymously with an access token which I save manually in a parameter. Then I published the dashboard in a workspace and there I wanted to connect the sources, but it was not possible. I can choose the anonymous connection, but I saw no way to add an access token. Is there a way to use an access token for Power BI service to connect to data sources?
Thanks,
Florian
Power BI Desktop:
Power BI service:
Fehler beim Aktualisieren der Datenquellen-Anmeldeinformationen: Web.Contents failed to get contents from 'https://api.linkedin.com/rest/adAnalytics?q=analytics&pivot=CAMPAIGN&timeGranularity=MONTHLY&dateRan...' (400): Bad Request
Solved! Go to Solution.
Hi @flo3o ,
You can create a dataflow and then put the code in your screenshot into a blank query.
You can also try to select LinkedIn Learning in the data flow and fill in the corresponding parameters in the corresponding position.
For more details, please refer to the document:
LinkedIn Learning API - First Steps - LinkedIn | Microsoft Learn
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @flo3o were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector. I currently use windsor.ai 's Linkedin Ads connector and I haven't had any problem with my data. In case you wonder, to make the connection first search for the Linkedin connector in the data sources list:
After that, just grant access to your Linkedin account using your credentials, then on preview and destination page you will see a preview of your Linkedin fields:
There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.
Hi yes the solution from cst worked 🙂
Hi @flo3o ,
You can create a dataflow and then put the code in your screenshot into a blank query.
You can also try to select LinkedIn Learning in the data flow and fill in the corresponding parameters in the corresponding position.
For more details, please refer to the document:
LinkedIn Learning API - First Steps - LinkedIn | Microsoft Learn
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 55 | |
| 49 | |
| 44 | |
| 16 | |
| 16 |