问题描述
我必须使用PNP SharePoint Powershell模块以编程方式将PowerBI报表嵌入到SharePoint现代页面中。我已经在GUI上通过提供Power BI报告链接,页面名称和显示来完成此操作,但是不确定如何使用PNP脚本来完成此操作。
Install-Module SharePointPnPPowerShellOnline
Connect-PnPOnline -Url https://xyz.sharepoint.com/sites/mystite -Credentials (Get-Credential)
Add-PnPClientSidePage -Name TestPage
Add-PnPClientSideWebPart -Page "TestPage" -DefaultWebPartType PowerBi {Not sure how to pass Power BI report link,Page name and display}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)