Skip to content

Commit daf1a22

Browse files
committed
add accept header
1 parent c72aef9 commit daf1a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/GraphHelper/New-TeamsAPIGetRequest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function New-TeamsAPIGetRequest($Uri, $tenantID, $Method = 'GET', $Resource = '4
1717
'x-ms-correlation-id' = [guid]::NewGuid()
1818
'X-Requested-With' = 'XMLHttpRequest'
1919
'x-ms-tnm-applicationid' = '045268c0-445e-4ac1-9157-d58f67b167d9'
20-
20+
'Accept' = 'application/json'
2121
}
2222
$Data
2323
if ($noPagination) { $nextURL = $null } else { $nextURL = $data.NextLink }

0 commit comments

Comments
 (0)