Embed a powerBi report with Row Level Security

Product/components used and version/fix level:

1016.0.214

Detailed explanation of the problem:

we are using the powerBi widget plugin (GitHub - SoftwareAG/cumulocity-power-bi-widget-plugin: This widget helps to display reports from Power BI. Developed by Global Presales. ) to show the imbedded report. We want to add Row Level Security to our report to filter the data based on our customer inventory role! After adding RLS, I am getting an access token error. I tried to use the POST request and add identity to my body request, but still getting the error. This is my function:

async generateEmbedToken(workspaceId: string, reportId: string):Promise<IFetchResponse> { const url = `${this.path}/GenerateToken`;
  const params = {
    groupId: workspaceId,
    reportId,
   
  }; 
  const body= {
    accessLevel: "View",
    identities: [
        {
            username: "MyUsername",
            roles: [ "MyRole"],
            datasets: [ "......." ]
        }
    ]
}   
return this.http.Post(url,body, params);
}

Not sure I am on right direction or not. I am seeking for any help or recommendation.
Thanks

Error messages / full error message screenshot / log file:

Question related to a free trial, or to a production (customer) instance?

Production