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 @@ -15,7 +15,7 @@ function Get-CIPPAlertNewAppApproval {
1515 try {
1616 $Approvals = New-GraphGetRequest - Uri " https://graph.microsoft.com/beta/identityGovernance/appConsent/appConsentRequests?`$ filter=userConsentRequests/any (u:u/status eq 'InProgress')" - tenantid $TenantFilter
1717 if ($Approvals.count -gt 0 ) {
18- $AlertData = [System.Collections.Generic.List [string ]]::new()
18+ $AlertData = [System.Collections.Generic.List [PSCustomObject ]]::new()
1919 foreach ($App in $Approvals ) {
2020 $userConsentRequests = New-GraphGetRequest - Uri " https://graph.microsoft.com/v1.0/identityGovernance/appConsent/appConsentRequests/$ ( $App.id ) /userConsentRequests" - tenantid $TenantFilter
2121 $userConsentRequests | ForEach-Object {
You can’t perform that action at this time.
0 commit comments