web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : DQCi7/HsV2bFEkxO801n+X
Power Apps - Microsoft Dataverse
Unanswered

Report for Power Apps users, their Security Roles, Teams and Apps that are shared with them

Like (0) ShareShare
ReportReport
Posted on 12 Jan 2024 01:43:37 by 2

I'm trying to use the Dataverse connector to create a Power BI report with users, their security roles, teams and the applications that are shared with them (either shared with a Team or shared with Individuals directly).  I would like to create one report view that includes all situations that you can have in an environment, such as:

 

1) The User belongs to a Team or not ( an Owner Team or a Groups Team)

2) A Canvas App or a Model Driven App

3) The app is in a Solution or is not in a Solution

4) Security Roles are assigned to Teams or directly to individual Users

What I'm really asking is what is the best way to create the data model for the report that takes all of the relationships into consideration.  The report itself will be very simple:

 

Canvas App A | Solution A | Team A | Security Role A | User A    (App is shared through Team A in this Case and Security Role is associated with Team A or User A directly)

Canvas App A | Solution A | (blank) | Security Role B | User B    (App is shared directly in this case and Security Role B is assigned directly to User B as User B does not belong to a  Team)

Canvas App B | (blank) | Team B | Security Role B | User C   (App is not in a Solution and app is shared through Team B with User C who has Security Role B assigned either directly or through Team B)

Model-Driven App C | Solution C | Team C | (blank) | User C   (App in Solution C share with User C through Team C; however no Security Role has been assigned to either Team or User)

etc.

etc.

 

I have the same question (0)
  • ivan_apps Profile Picture
    2,187 Moderator on 17 Jan 2024 at 08:59:52
    Re: Report for Power Apps users, their Security Roles, Teams and Apps that are shared with them

    ApplicationUser is actually an App Registration/Service Principal account created in Azure AD. Basically like a special service account.

     

    There is a user App Checker on the power platform admin center, it opens a page into this link - https://[yourtenant].crm.dynamics.com/WebResources/msdyn_AppAccessChecker.html

    If you enter someone's email it will display all apps, visibility, licensing, security roles & reason for each.  This is a nice tool but checks only 1 user at a time.

     

    What I did was open dev tools and watch the network traffic as I searched for a user. It queried the AppModules table to return the data. You can try to connect to the AppModule table in Power BI and see if that works, or you can use Power Automate to replicate those requests for all users, all apps, and stage the data into a Table for Power BI reporting.

  • boxspread1 Profile Picture
    2 on 16 Jan 2024 at 19:14:27
    Re: Report for Power Apps users, their Security Roles, Teams and Apps that are shared with them

    Thanks for that recommendation.. I'm working in a client environment, so that may take a little bit to get in place.  In the mean time, I think I have most of what I'm trying to get to, but 1 item.  I'm not sure how to get a list of users by application.  When you share an app with a team or an individual I would think that list of users/teams would be stored somewhere.  I thought it would be the applicationuser table, but that does not work I don't believe.  Any ideas?

  • Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on 14 Jan 2024 at 00:12:48
    Re: Report for Power Apps users, their Security Roles, Teams and Apps that are shared with them

    Hi @boxspread1 ,

    You might want to look at installing the Center of Excellence Toolkit vs. looking at a number of these items manually.   https://learn.microsoft.com/en-us/power-platform/guidance/coe/overview 

     

    Not sure this will resolve all of the queries you are looking at from a governance perspective but it should provide you a great start.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 982 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 396 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 356

Last 30 days Overall leaderboard

Featured topics