Forum Discussion

skbg's avatar
skbg
New Member
2 years ago
Solved

400 Bad Request Creating embed token with effective identity requires dataset to be provided

Hi, I'm migrating client-code from ADAL.NET to MSAL.NET that embeds Power BI report, and what was working under ADAL.Net is failing in MSAL.Net approach. I'm unable to get the access token to a repo...
  • skbg's avatar
    2 years ago

    Anyone facing this issue, the error message is actually correct.

     

    While passing EffectiveIdentity, you also need to pass the dataset id in the ei list as datasets:, i was missing that.

     

    Hope this helps.

    -skbg