File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Modules/CIPPCore/Public/Alerts Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function Get-CIPPAlertNewAppApproval {
1616 Measure-CippTask - TaskName ' NewAppApprovalAlert' - EventName ' CIPP.AlertProfile' - Script {
1717 try {
1818 $Approvals = Measure-CippTask - TaskName ' GetAppConsentRequests' - EventName ' CIPP.AlertProfile' - Script {
19- New-GraphGetRequest - Uri " https://graph.microsoft.com/beta/identityGovernance/appConsent/appConsentRequests?`$ filter=userConsentRequests/any (u:u/status eq 'InProgress')" - tenantid $TenantFilter
19+ New-GraphGetRequest - Uri " https://graph.microsoft.com/beta/identityGovernance/appConsent/appConsentRequests?`$ top=100& `$ filter=userConsentRequests/any (u:u/status eq 'InProgress')" - tenantid $TenantFilter
2020 }
2121
2222 if ($Approvals.count -gt 0 ) {
You can’t perform that action at this time.
0 commit comments