feat(007): device config & compliance snapshot/restore improvements #9

Merged
ahmido merged 18 commits from feat/007-device-config-compliance into dev 2025-12-29 12:46:20 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 18cf22a7ed - Show all commits

View File

@ -331,7 +331,7 @@
],
'assignmentFilter' => [
'resource' => 'deviceManagement/assignmentFilters',
'allowed_select' => ['id', 'displayName', 'description', 'platform', 'rule', '@odata.type', 'roleScopeTagIds'],
'allowed_select' => ['id', 'displayName', 'description', 'platform', 'rule', 'roleScopeTagIds'],
'allowed_expand' => [],
'type_family' => [
'#microsoft.graph.deviceAndAppManagementAssignmentFilter',
@ -348,7 +348,7 @@
],
'roleScopeTag' => [
'resource' => 'deviceManagement/roleScopeTags',
'allowed_select' => ['id', 'displayName', 'description', '@odata.type', 'isBuiltIn'],
'allowed_select' => ['id', 'displayName', 'description', 'isBuiltIn'],
'allowed_expand' => [],
'type_family' => [
'#microsoft.graph.roleScopeTag',
@ -365,7 +365,7 @@
],
'notificationMessageTemplate' => [
'resource' => 'deviceManagement/notificationMessageTemplates',
'allowed_select' => ['id', 'displayName', 'description', 'brandingOptions', '@odata.type', 'lastModifiedDateTime'],
'allowed_select' => ['id', 'displayName', 'description', 'brandingOptions', 'lastModifiedDateTime'],
'allowed_expand' => [],
'type_family' => [
'#microsoft.graph.notificationMessageTemplate',

View File

@ -42,8 +42,8 @@
$query = $result['query'];
$warnings = $result['warnings'];
expect($query['$select'])->toBe(['id', 'displayName']);
expect($query['$expand'])->toBe(['assignments']);
expect($query['$select'])->toBe('id,displayName');
expect($query['$expand'])->toBe('assignments');
expect($warnings)->not->toBeEmpty();
});