Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: User Manager Export #42

Open
roflrolle opened this issue Mar 1, 2023 · 1 comment
Open

Enhancement: User Manager Export #42

roflrolle opened this issue Mar 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@roflrolle
Copy link

roflrolle commented Mar 1, 2023

Currently the users manager is not included in the export. This is because the manager is not part of the default properties of a user object (see: https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-beta#properties)

It would help to have to the users manager in the export to view hierarchical data.

@merill merill added the enhancement New feature or request label Aug 17, 2023
@mahalel
Copy link

mahalel commented Apr 16, 2024

I think if we'd expand the manager instead of extensions on this line, we'd get the data we need https://github.com/microsoft/EntraExporter/blob/afc222908513efbf5d5c35d8a3e7ed4b1a1dfbda/src/Get-EEDefaultSchema.ps1#L840C1-L840C76

I'm not sure if this expand can be perhaps parameterized so we can choose which field to expand ourselves?
The limitation is that we cannot have multiple attributes passed to expand - https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http#expand-parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants