Error "Refused to frame..." embedding Power BI links /dashboard in HTML portlet

book

Article ID: 144323

calendar_today

Updated On:

Products

Clarity PPM SaaS STARTER PACK-CLARITY PPM Clarity PPM On Premise

Issue/Introduction

The PowerBI sign-in link and then subsequent iFrame dashboard will not show up unless you disable X-Frame Headers via an extension. Error in browser trace references:

Refused to frame 'https://aaa.bbb.com/' because it violates the following Content Security Policy directive: "frame-src 'self' techdocs.broadcom.com fonts.googleapis.com cdnjs.cloudflare.com data:".

Environment

Release :  All Supported Releases

Component : CLARITY REPORTING

Resolution

SaaS Customers, please contact Broadcom support for assistance with this issue.

Steps to add the domain:

  1. Run the below command:

admin system-options -add CONTENT_SECURITY_DOMAINS aaa.bbb.com/'-multi

  1. Restart the services

To verify that the domain was correctly added, run command:

admin system-options -list CONTENT_SECURITY_DOMAINS

Additional Information

See CSA: Service and Admin Command-Line Utilities for more details on the command used in this KB and more.