Skip to content

Commit 4f3fb33

Browse files
committed
fix: Remove 'Device' from types in Invoke-ListDeletedItems function
1 parent 0b38f07 commit 4f3fb33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ListDeletedItems.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Function Invoke-ListDeletedItems {
1616
Write-LogMessage -Headers $Headers -API $APINAME -message 'Accessed this API' -Sev 'Debug'
1717

1818
# Interact with query parameters or the body of the request.
19-
$Types = 'Application', 'User', 'Device', 'Group'
19+
$Types = 'Application', 'User', 'Group'
2020
$GraphRequest = foreach ($Type in $Types) {
2121
(New-GraphGetRequest -uri "https://graph.microsoft.com/beta/directory/deletedItems/microsoft.graph.$($Type)" -tenantid $TenantFilter) |
2222
Where-Object -Property '@odata.context' -NotLike '*graph.microsoft.com*' |

0 commit comments

Comments
 (0)