Could someone help me? I'm trying to following this fairly simple tutorial to create a custom API connector to MS Graph. However, I'm struggling to get it to work with the powerBI data. Essentially what I'm trying to do is list out the workspaces, then the dashboards, then the tiles that the current user has access to, and eventually I want to retrieve the tile embed URL.
I think my problem is the get dashboards call. If I am using graph my host is graph.microsoft.com, so the rest of the call must follow that URL. If I import from sample the normal call "https://api.powerbi.com/v1.0/myorg/groups" it appears to reform the URL as "https://graph.microsoft.com/v1.0/myorg/groups" and that call fails.
I've tried switching the connector host to api.powerbi.com, registered an app through powerbi and used that appid / secret combo as well, but can't seem to make it work. Does anyone have a good example of how to do this anywhere?