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

Bumping release to 1.7.0 #118

Merged
merged 34 commits into from
Feb 18, 2022
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
f3acd5f
ENHANCEMENT: Reduce reliance on PSSession imports
gavsto Feb 5, 2022
86d2b75
ADD: Azure AD Connect Endpoint API
gavsto Feb 5, 2022
12f5c56
Version update
gavsto Feb 5, 2022
b29a45c
Merge branch 'dev' into dev
gavsto Feb 5, 2022
9f9afc7
Merge pull request #113 from gavsto/dev
gavsto Feb 5, 2022
f17ae11
ENHANCEMENT: Added Licenses totals and extended whitelisted SKUs
gavsto Feb 6, 2022
f04a658
Merge pull request #114 from gavsto/dev
gavsto Feb 6, 2022
e225872
NEW API: All Tenant Device Compliance using Lighthouse API
gavsto Feb 6, 2022
0504acb
Merge pull request #115 from gavsto/dev
gavsto Feb 6, 2022
e93cf62
BUG FIX: Corrected an oopsy in the API call for tenant filter
gavsto Feb 6, 2022
088fdd0
Merge pull request #116 from gavsto/dev
gavsto Feb 6, 2022
2979a78
added error handling for everything that requires a license
KelvinTegelaar Feb 11, 2022
67a9f46
added potential exchange error
KelvinTegelaar Feb 11, 2022
21536b5
fixes #735
KelvinTegelaar Feb 11, 2022
cc946b2
improved alerts list
KelvinTegelaar Feb 14, 2022
9b7b321
added set alert function
KelvinTegelaar Feb 14, 2022
0bdbbd6
Update DNSHelper.psm1
JohnDuprey Feb 15, 2022
0864829
Merge remote-tracking branch 'upstream/dev' into dev
JohnDuprey Feb 15, 2022
6429161
Update 4d9206b0-4f96-41e6-86a5-f78cdcff5069.IntuneTemplate.json
KelvinTegelaar Feb 15, 2022
ce10d01
Merge remote-tracking branch 'upstream/dev' into dev
JohnDuprey Feb 15, 2022
d9e5de4
Update DNSHelper.psm1
JohnDuprey Feb 16, 2022
0fec037
Update DNSHelper.psm1
JohnDuprey Feb 16, 2022
a490b29
Update DNSHelper.psm1
JohnDuprey Feb 16, 2022
40d1df9
Update DNSHelper.psm1
JohnDuprey Feb 16, 2022
b95b29a
Update DNSHelper.psm1
JohnDuprey Feb 16, 2022
de6c19a
Merge pull request #117 from johnduprey/dev
KelvinTegelaar Feb 16, 2022
16fa761
fixed minor issues with AAD report.
KelvinTegelaar Feb 16, 2022
ae926e5
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into…
KelvinTegelaar Feb 16, 2022
36d9f9b
scheduler stuff
KelvinTegelaar Feb 16, 2022
665a446
revert issue
KelvinTegelaar Feb 16, 2022
3a7478d
added license report
KelvinTegelaar Feb 17, 2022
64f3091
added option for private teams
KelvinTegelaar Feb 18, 2022
cff6c3e
731
KelvinTegelaar Feb 18, 2022
3179b86
bumped version for release
KelvinTegelaar Feb 18, 2022
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
Prev Previous commit
Next Next commit
BUG FIX: Corrected an oopsy in the API call for tenant filter
  • Loading branch information
gavsto committed Feb 6, 2022
commit e93cf626442878bacb89622b293d386df5395303
5 changes: 2 additions & 3 deletions ListAllTenantDeviceCompliance/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ Write-Host "PowerShell HTTP trigger function processed a request."
# Interact with query parameters or the body of the request.
$TenantFilter = $Request.Query.TenantFilter

if ($TenantFilter = 'AllTenants') {
if ($TenantFilter -eq 'AllTenants') {
$GraphRequest = New-GraphGetRequest -uri "https://graph.microsoft.com/beta/tenantRelationships/managedTenants/managedDeviceCompliances"
}
else {
$GraphRequest = New-GraphGetRequest -uri "https://graph.microsoft.com/beta/tenantRelationships/managedTenants/managedDeviceCompliances?`$top=999&`$filter=tenantId eq '$TenantFilter'"
$GraphRequest = New-GraphGetRequest -uri "https://graph.microsoft.com/beta/tenantRelationships/managedTenants/managedDeviceCompliances?`$top=999&`$filter=organizationId eq '$TenantFilter'"
}


if ($GraphRequest.value.count -lt 1) {
$StatusCode = [HttpStatusCode]::Forbidden
$GraphRequest = "No data found - This client might not be onboarded in Lighthouse"
Expand Down