Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/Get-EEDefaultSchema.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,16 @@ function Get-EEDefaultSchema {
Tag = @('All', 'Users')
DelegatedPermission = 'Directory.Read.All'
ApplicationPermission = 'Directory.Read.All'
},
Children = @(
@{
GraphUri = 'users/<placeholder>/manager'
Path = 'Manager'
Select = 'id, userPrincipalName, displayName'
Tag = @('All', 'Users')
DelegatedPermission = 'User.Read.All'
ApplicationPermission = 'User.Read.All'
}
Comment on lines +841 to +847
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent indentation. The properties inside this child object use excessive spaces/tabs instead of following the consistent indentation pattern seen in other Children definitions throughout the file. Compare with similar definitions on lines 78-85, 673-688, or 707-742 for the correct indentation pattern.

Suggested change
GraphUri = 'users/<placeholder>/manager'
Path = 'Manager'
Select = 'id, userPrincipalName, displayName'
Tag = @('All', 'Users')
DelegatedPermission = 'User.Read.All'
ApplicationPermission = 'User.Read.All'
}
GraphUri = 'users/<placeholder>/manager'
Path = 'Manager'
Select = 'id, userPrincipalName, displayName'
Tag = @('All', 'Users')
DelegatedPermission = 'User.Read.All'
ApplicationPermission = 'User.Read.All'
}

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid. Formatting with VS Code should fix this (Shift + Alt + F).

)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the closing },. Otherwise looks good!

Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing closing brace and comma after the Children array. The Users configuration object needs to be closed with }, after line 848. This follows the same pattern seen in other schema definitions (e.g., lines 690, 744, 826).

Suggested change
)
)
},

Copilot uses AI. Check for mistakes.

# Devices
@{
Expand Down
Loading