You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UsersAssigned=Get-MgServicePrincipalAppRoleAssignedTo-serviceprincipalid $match.id|Select-Object-expandproperty PrincipalDisplayname |Out-String#need to pull from additional cmd
If i'm reading this correctly this is going to drop users if there is more than one user assigned to the app.
In a case im looking at at the moment there's 2 users assigned to perfectdata software, but only one shown in "Users Assigned"
Same would apply to references, and known permissions
The text was updated successfully, but these errors were encountered:
I think youre correct, totally needs to be in a foreach loop or something that would grab info for each user, plus they might have unique permissions., Even the csv output for this module is pretty messy so I think it needs more work.
OK this should be fixed in the next update now. The specific command could only pull user by ID and display name so I added some extra code so that it pulls UPN via the ID. Each user assigned to the application also does have it's own line in the export as well.
Similar issue exists with the permissions and references portion. I've submitted more apps to Huntress so once all the apps are done being ported over I'll move the sus list to their repo. Then, I'll redo the code to be better... somehow. not sure yet.
osprey/Osprey/functions/Tenant/Get-OspreyTenantAppsAndConsents.ps1
Line 71 in edb14ce
If i'm reading this correctly this is going to drop users if there is more than one user assigned to the app.
In a case im looking at at the moment there's 2 users assigned to perfectdata software, but only one shown in "Users Assigned"
Same would apply to references, and known permissions
The text was updated successfully, but these errors were encountered: