Hi,
as part of our monitoring of the Power Platform and users permissions I'm trying to get a list of users with their associated security roles for all environments that have a Dataverse database.
According to this post, this is not possible, but the post is already quite old, so things might have changed.
In this post they explain that you need to add a "set" suffix to the table relationship name, but for me this does not work (see screenshot). I get an error "table not found".

Using the expand query with the "Users" table also does not work (there is no error, but no data is retrieved about the user roles).

Edit: When I use the current Dataverse connector (instead of the legacy one), it does work, but only for the current environment. This is unfortunately not sufficient, because we have 200+ environments and I can't replicate the flow this many times.

Does anybody know how to get the information without doing it by hand?
Regards