Jump to content
  • 0

Creating a User Centric Published Apps/Desktop Report - Approach to determine user Assignments


shocko

Question

Posted

I'm looking to use the powershell CMDLETS to build a user centric report for all desktops and applications published to a user on CVAD 2203 LTSR:

  • Create a dashboard in my BI Tool where we can enter a username and get a list of all desktops and applications published to a user
  • For a given application or desktop list all users and groups that have access

Basically the idea is to dump all the info from the DDC using the Powershell/APIs into some JSON/CSV format and then import to the BI tool. This is a gap for us as there doesn’t seem to be a good method to report on this currently. I’ve done a basic POC simply listing the apps and expanding the group members (from ADDS) and this works great. Now the main challenge is folding in the users delivery groups and other maskings

Note: I am assuming there is no other automated tool/method to do this as it stands for 2203 so correct me if I’m wrong?!                                                                                                                                     

Now if we were using CVAD 2212+ or Citrix DaaS I believe we could use the REST API but we are not. I’ve looked at the SOAP request made to the DDC by things like the quick launch tool and they require the end users username/password to enumerate things so not much use. So that leaves us with the Powershell CMDLETS for the DDCs. These CMDLETS though don't allow us to dump user centrix imfromation directly but rather dump the apps/desktop and work out the assignment. So the approach I’m thinking of is as follows:

  1. Enumerate all Delivery Groups
    1. For each delivery group dump all user assignments
    2. For each delivery group dump all group assignments
      1. Expand all group members
    3. For each delivery group if does not have filtering then it applies to any user
  2. Enumerate all enabled apps
    1. For each app dump all user assignments
    2. For each app dump all group assignments
      1. Expand all group members
    3. For each app if does not have filtering then it applies to any user
  3. Match the apps to the delivery groups they are associated with

 

I feel I might be missing some other considerations on what determines if an app/desktop is published to a user (tags, application groups, other?). Can anyone abvise?

I haven't worked with CVAD  in a good few years and I know see wwe have tags, application groups, scopes etc. I'm wondering what the flow would be to detemine the apps and desktops published to a user. 
 

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...