Forum Discussion

devbv's avatar
devbv
Frequent Visitor
8 years ago
Solved

DMTS_MonikerNotFoundError

When we attempt to GenerateToken using PowerBI API v2 to get hold of an embed token in an RLS/App Owns Data scenario, we are getting back the following response:   {"error":{"code":"DMTS_MonikerNot...
  • devbv's avatar
    8 years ago

    In case this helps anyone else. I now have a better understanding of the issue above.

     

    The root of the issue seems to have been that for the Dataset that was being passed in to the API request, the owner was the publisher of the report (which it support) and it wasn't the master account.

     

    Once the master account took over ownership (you can do this from the Power BI portal > Select your Workspace > Datasets > On the Dataset of interest, go to Settings > Take over), the embed token was issued correctly.

     

    The effective user name that is being passed in does not seem to have any role to play until, the embed token is used to render the report.

     

    Note: I still don't know what DMTS means, but the issue is now resolved.