I got this error "Contact your admin to enable embed code creation Power BI" when trying to embed and publish Power BI report to the web
Contact your admin to enable embed code creation Power BI
To publish this report on the web, ask your Power BI admin if they will allow you to create new publish to web embed codes. Once they turn that on, you will be able to publish this report to the web
How can I embed and publish Power BI report to the web in Power BI Service?