Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi PowerBI Community,
Does anyone know if there's a way to generate a 'Publish to Web (public)' link (as shown in the screenshots) via. Power BI REST API, or any methods? I cannot find it from the list of API endpoints (this link), but I want to confirm if this is currently doable.
Best regards
Solved! Go to Solution.
Hi @fxs7576_02
I'm afraid that the Power BI REST API does not currently support the generation of Publish to web embed code. Embed code is automatically generated when you select Publish to web and are allowed to use the feature. And only one embed code can be created per report.
Could you tell me why you want to do this? If you need further help, feel free to let me know.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @fxs7576_02
I'm afraid that the Power BI REST API does not currently support the generation of Publish to web embed code. Embed code is automatically generated when you select Publish to web and are allowed to use the feature. And only one embed code can be created per report.
Could you tell me why you want to do this? If you need further help, feel free to let me know.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I was just curious if that's possible. Thanks for letting me know that it's not currently supported.
Best regards
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |