Forum Discussion

fxs7576_02's avatar
fxs7576_02
Helper I
1 year ago
Solved

Generate Secured Embed Code via. REST API

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 th...
  • Anonymous's avatar
    Anonymous
    1 year ago

    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.

    https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-publish-to-web#create-embed-codes-with-publish-to-web 

     

    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.