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!View all the Fabric Data Days sessions on demand. View schedule
I need an automated way to get an access token during a dataset scheduled refresh. We have powerbi reports which use an odata datasource but the odata datasource requires a token to access the data. Getting the data is not an issue if you are using the powerbi report locally. The issue is when the schedule dataset refresh starts it will require a new access token.
I think the only way may be to add some custom code to each powerbi report to get the access token. But since we have many reports that we use and deploy, this would be an undertaking. Also I am not sure of the custom code to use for this scenario. Any ideas would be really appreciated. Thanks.
Usually processes like these require you to build a custom connector.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |