diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ExecSetPackageTag.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ExecSetPackageTag.ps1 index 4aee218167e0..68e8bef9be1a 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ExecSetPackageTag.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ExecSetPackageTag.ps1 @@ -20,12 +20,12 @@ function Invoke-ExecSetPackageTag { if ($Remove -eq $true) { # Remove package tag by setting it to null/empty $PackageValue = $null - $LogMessage = "Successfully removed package tag from template with GUID" - $SuccessMessage = "Successfully removed package tag from template(s)" + $LogMessage = 'Successfully removed package tag from template with GUID' + $SuccessMessage = 'Successfully removed package tag from template(s)' } else { # Add package tag (existing logic) - $PackageValue = $Request.body.Package | Select-Object -First 1 - $LogMessage = "Successfully updated template with GUID" + $PackageValue = [string]($Request.body.Package | Select-Object -First 1) + $LogMessage = 'Successfully updated template with GUID' $SuccessMessage = "Successfully updated template(s) with package tag: $PackageValue" } diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ListGraphRequest.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ListGraphRequest.ps1 index 6e11328c9e3f..4e5fa69d626f 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ListGraphRequest.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ListGraphRequest.ps1 @@ -124,6 +124,11 @@ function Invoke-ListGraphRequest { try { $Results = Get-GraphRequestList @GraphRequestParams + + if ($script:LastGraphResponseHeaders) { + $Metadata.GraphHeaders = $script:LastGraphResponseHeaders + } + if ($Results | Where-Object { $_.PSObject.Properties.Name -contains 'nextLink' }) { if (![string]::IsNullOrEmpty($Results.nextLink) -and $Request.Query.TenantFilter -ne 'AllTenants') { Write-Host "NextLink: $($Results.nextLink | Where-Object { $_ } | Select-Object -Last 1)" diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionSync.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionSync.ps1 index 0545f8aeada0..a268c3075aae 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionSync.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionSync.ps1 @@ -86,7 +86,7 @@ Function Invoke-ExecExtensionSync { } } 'Hudu' { - Register-CIPPExtensionScheduledTasks -Reschedule + Register-CIPPExtensionScheduledTasks -Reschedule -Extensions 'Hudu' $Results = [pscustomobject]@{'Results' = 'Extension sync tasks have been rescheduled and will start within 15 minutes' } } diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionsConfig.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionsConfig.ps1 index 831b1084a79d..79529e5b5291 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionsConfig.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionsConfig.ps1 @@ -1,4 +1,4 @@ -Function Invoke-ExecExtensionsConfig { +function Invoke-ExecExtensionsConfig { <# .FUNCTIONALITY Entrypoint @@ -27,6 +27,14 @@ Function Invoke-ExecExtensionsConfig { } } + if ($Body.Hudu.NextSync) { + #parse unixtime for addedtext + $Timestamp = [datetime]::UnixEpoch.AddSeconds([int]$Body.Hudu.NextSync).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ") + Register-CIPPExtensionScheduledTasks -Reschedule -NextSync $Body.Hudu.NextSync -Extensions 'Hudu' + $AddedText = " Next sync will be at $Timestamp." + $Body.Hudu.NextSync = '' + } + $Table = Get-CIPPTable -TableName Extensionsconfig foreach ($APIKey in $Body.PSObject.Properties.Name) { Write-Information "Working on $apikey" diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyCalPerms.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyCalPerms.ps1 index 910198ea6e73..562fb1dd2f92 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyCalPerms.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyCalPerms.ps1 @@ -11,32 +11,37 @@ function Invoke-ExecModifyCalPerms { $APIName = $Request.Params.CIPPEndpoint $Headers = $Request.Headers - + # UPN of the mailbox to modify calendar permissions for $Username = $Request.Body.userID + $TenantFilter = $Request.Body.tenantFilter $Permissions = $Request.Body.permissions Write-LogMessage -headers $Headers -API $APIName -message "Processing request for user: $Username, tenant: $TenantFilter" -Sev 'Debug' - if ($null -eq $Username) { - Write-LogMessage -headers $Headers -API $APIName -message 'Username is null' -Sev 'Error' - $body = [pscustomobject]@{'Results' = @('Username is required') } + if ([string]::IsNullOrWhiteSpace($Username)) { + Write-LogMessage -headers $Headers -API $APIName -message 'Username is null or whitespace' -Sev 'Error' return ([HttpResponseContext]@{ StatusCode = [HttpStatusCode]::BadRequest - Body = $Body + Body = @{'Results' = @('Username is required') } }) return } try { - $UserId = (New-GraphGetRequest -uri "https://graph.microsoft.com/beta/users/$($Username)" -tenantid $TenantFilter).id - Write-LogMessage -headers $Headers -API $APIName -message "Retrieved user ID: $UserId" -Sev 'Debug' + try { + $UserId = [guid]$Username + } catch { + # If not a GUID, assume it's a UPN and look up the ID via Graph + $UserId = (New-GraphGetRequest -uri "https://graph.microsoft.com/beta/users/$($Username)" -tenantid $TenantFilter).id + Write-LogMessage -headers $Headers -API $APIName -message "Retrieved user ID: $UserId" -Sev 'Debug' + } } catch { - Write-LogMessage -headers $Headers -API $APIName -message "Failed to get user ID: $($_.Exception.Message)" -Sev 'Error' - $body = [pscustomobject]@{'Results' = @("Failed to get user ID: $($_.Exception.Message)") } + $ErrorMessage = Get-CippException -Exception $_ + Write-LogMessage -headers $Headers -API $APIName -message "Failed to get user ID: $($ErrorMessage.NormalizedError)" -Sev Error -LogData $ErrorMessage return ([HttpResponseContext]@{ StatusCode = [HttpStatusCode]::NotFound - Body = $Body + Body = @{'Results' = @("Failed to get user ID: $($ErrorMessage.NormalizedError)") } }) return } @@ -91,24 +96,22 @@ function Invoke-ExecModifyCalPerms { # Write-Host "Request params: $($Params | ConvertTo-Json)" $Result = Set-CIPPCalendarPermission @Params - $null = $Results.Add($Result) + $Results.Add($Result) } catch { $HasErrors = $true - $null = $Results.Add("$($_.Exception.Message)") + $Results.Add("$($_.Exception.Message)") } } } if ($Results.Count -eq 0) { Write-LogMessage -headers $Headers -API $APIName -message 'No results were generated from the operation' -Sev 'Warning' - $null = $Results.Add('No results were generated from the operation. Please check the logs for more details.') + $Results.Add('No results were generated from the operation. Please check the logs for more details.') $HasErrors = $true } - $Body = [pscustomobject]@{'Results' = @($Results) } - return ([HttpResponseContext]@{ StatusCode = if ($HasErrors) { [HttpStatusCode]::InternalServerError } else { [HttpStatusCode]::OK } - Body = $Body + Body = @{'Results' = @($Results) } }) } diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyContactPerms.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyContactPerms.ps1 index 8d2f7a68e188..75877cbbdb9c 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyContactPerms.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyContactPerms.ps1 @@ -11,32 +11,37 @@ function Invoke-ExecModifyContactPerms { $APIName = $Request.Params.CIPPEndpoint $Headers = $Request.Headers - + # UPN of the mailbox to modify contact permissions for $Username = $Request.Body.userID + $TenantFilter = $Request.Body.tenantFilter $Permissions = $Request.Body.permissions Write-LogMessage -headers $Headers -API $APIName -message "Processing request for user: $Username, tenant: $TenantFilter" -Sev 'Debug' - if ($null -eq $Username) { - Write-LogMessage -headers $Headers -API $APIName -message 'Username is null' -Sev 'Error' - $body = [pscustomobject]@{'Results' = @('Username is required') } + if ([string]::IsNullOrWhiteSpace($Username)) { + Write-LogMessage -headers $Headers -API $APIName -message 'Username is null or whitespace' -Sev 'Error' return ([HttpResponseContext]@{ StatusCode = [HttpStatusCode]::BadRequest - Body = $Body + Body = @{'Results' = @('Username is required') } }) return } try { - $UserId = (New-GraphGetRequest -uri "https://graph.microsoft.com/beta/users/$($Username)" -tenantid $TenantFilter).id - Write-LogMessage -headers $Headers -API $APIName -message "Retrieved user ID: $UserId" -Sev 'Debug' + try { + $UserId = [guid]$Username + } catch { + # If not a GUID, assume it's a UPN and look up the ID via Graph + $UserId = (New-GraphGetRequest -uri "https://graph.microsoft.com/beta/users/$($Username)" -tenantid $TenantFilter).id + Write-LogMessage -headers $Headers -API $APIName -message "Retrieved user ID: $UserId" -Sev 'Debug' + } } catch { - Write-LogMessage -headers $Headers -API $APIName -message "Failed to get user ID: $($_.Exception.Message)" -Sev 'Error' - $body = [pscustomobject]@{'Results' = @("Failed to get user ID: $($_.Exception.Message)") } + $ErrorMessage = Get-CippException -Exception $_ + Write-LogMessage -headers $Headers -API $APIName -message "Failed to get user ID: $($ErrorMessage.NormalizedError)" -Sev Error -LogData $ErrorMessage return ([HttpResponseContext]@{ StatusCode = [HttpStatusCode]::NotFound - Body = $Body + Body = @{'Results' = @("Failed to get user ID: $($ErrorMessage.NormalizedError)") } }) return } @@ -90,24 +95,23 @@ function Invoke-ExecModifyContactPerms { # Write-Host "Request params: $($Params | ConvertTo-Json)" $Result = Set-CIPPContactPermission @Params - $null = $Results.Add($Result) + $Results.Add($Result) } catch { $HasErrors = $true - $null = $Results.Add("$($_.Exception.Message)") + $Results.Add("$($_.Exception.Message)") } } } if ($Results.Count -eq 0) { Write-LogMessage -headers $Headers -API $APIName -message 'No results were generated from the operation' -Sev 'Warning' - $null = $Results.Add('No results were generated from the operation. Please check the logs for more details.') + $Results.Add('No results were generated from the operation. Please check the logs for more details.') $HasErrors = $true } - $Body = [pscustomobject]@{'Results' = @($Results) } return ([HttpResponseContext]@{ StatusCode = if ($HasErrors) { [HttpStatusCode]::InternalServerError } else { [HttpStatusCode]::OK } - Body = $Body + Body = @{'Results' = @($Results) } }) } diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Transport/Invoke-AddTransportRule.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Transport/Invoke-AddTransportRule.ps1 index 8f0e0716d72c..074642de5a8f 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Transport/Invoke-AddTransportRule.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Transport/Invoke-AddTransportRule.ps1 @@ -14,6 +14,9 @@ function Invoke-AddTransportRule { $RequestParams = $Request.Body.PowerShellCommand | ConvertFrom-Json | Select-Object -Property * -ExcludeProperty GUID, HasSenderOverride, ExceptIfHasSenderOverride, ExceptIfMessageContainsDataClassifications, MessageContainsDataClassifications + # Remove null properties from payload + $RequestParams.PSObject.Properties | Where-Object { $_.Value -eq $null } | ForEach-Object { $RequestParams.PSObject.Properties.Remove($_.Name) } + $Tenants = ($Request.body.selectedTenants).value $AllowedTenants = Test-CippAccess -Request $Request -TenantList diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Endpoint/MEM/Invoke-AddDefenderDeployment.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Endpoint/MEM/Invoke-AddDefenderDeployment.ps1 index bcc35e8aa1d3..efa9cddcd24b 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Endpoint/MEM/Invoke-AddDefenderDeployment.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Endpoint/MEM/Invoke-AddDefenderDeployment.ps1 @@ -228,22 +228,7 @@ function Invoke-AddDefenderDeployment { } } } - { $_.Telemetry } { - @{ - '@odata.type' = '#microsoft.graph.deviceManagementConfigurationSetting' - settingInstance = @{ - '@odata.type' = '#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance' - settingDefinitionId = 'device_vendor_msft_windowsadvancedthreatprotection_configuration_telemetryreportingfrequency' - choiceSettingValue = @{ - settingValueTemplateReference = @{settingValueTemplateId = '350b0bea-b67b-43d4-9a04-c796edb961fd' } - '@odata.type' = '#microsoft.graph.deviceManagementConfigurationChoiceSettingValue' - 'value' = 'device_vendor_msft_windowsadvancedthreatprotection_configuration_telemetryreportingfrequency_2' - } - settingInstanceTemplateReference = @{settingInstanceTemplateId = '03de6095-07c4-4f35-be38-c1cd3bae4484' } - } - } - } { $_.Config } { @{ '@odata.type' = '#microsoft.graph.deviceManagementConfigurationSetting' @@ -279,10 +264,11 @@ function Invoke-AddDefenderDeployment { "$($tenant): EDR Policy already exists. Skipping" } else { $EDRRequest = New-GraphPOSTRequest -uri 'https://graph.microsoft.com/beta/deviceManagement/configurationPolicies' -tenantid $tenant -type POST -body $EDRbody - if ($ASR -and $ASR.AssignTo -ne 'none') { - $AssignBody = if ($ASR.AssignTo -ne 'AllDevicesAndUsers') { '{"assignments":[{"id":"","target":{"@odata.type":"#microsoft.graph.' + $($asr.AssignTo) + 'AssignmentTarget"}}]}' } else { '{"assignments":[{"id":"","target":{"@odata.type":"#microsoft.graph.allDevicesAssignmentTarget"}},{"id":"","target":{"@odata.type":"#microsoft.graph.allLicensedUsersAssignmentTarget"}}]}' } + # Assign if needed + if ($EDR.AssignTo -and $EDR.AssignTo -ne 'none') { + $AssignBody = if ($EDR.AssignTo -ne 'AllDevicesAndUsers') { '{"assignments":[{"id":"","target":{"@odata.type":"#microsoft.graph.' + $($EDR.AssignTo) + 'AssignmentTarget"}}]}' } else { '{"assignments":[{"id":"","target":{"@odata.type":"#microsoft.graph.allDevicesAssignmentTarget"}},{"id":"","target":{"@odata.type":"#microsoft.graph.allLicensedUsersAssignmentTarget"}}]}' } $null = New-GraphPOSTRequest -uri "https://graph.microsoft.com/beta/deviceManagement/configurationPolicies('$($EDRRequest.id)')/assign" -tenantid $tenant -type POST -body $AssignBody - Write-LogMessage -headers $Headers -API $APINAME -tenant $($tenant) -message "Assigned EDR policy $($DisplayName) to $($ASR.AssignTo)" -Sev 'Info' + Write-LogMessage -headers $Headers -API $APIName -tenant $($tenant) -message "Assigned EDR policy $($DisplayName) to $($EDR.AssignTo)" -Sev 'Info' } "$($tenant): Successfully added EDR Settings" } diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Groups/Invoke-AddGroup.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Groups/Invoke-AddGroup.ps1 index 9e54a1c08749..e8495e38dc77 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Groups/Invoke-AddGroup.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Groups/Invoke-AddGroup.ps1 @@ -10,7 +10,6 @@ function Invoke-AddGroup { $APIName = $Request.Params.CIPPEndpoint $SelectedTenants = if ('AllTenants' -in $SelectedTenants) { (Get-Tenants).defaultDomainName } else { $Request.body.tenantFilter.value ? $Request.body.tenantFilter.value : $Request.body.tenantFilter } - Write-LogMessage -headers $Request.Headers -API $APIName -message 'Accessed this API' -Sev Debug $GroupObject = $Request.body @@ -28,7 +27,6 @@ function Invoke-AddGroup { } } catch { $ErrorMessage = Get-CippException -Exception $_ - Write-LogMessage -headers $Request.Headers -API $APIName -tenant $tenant -message "Group creation API failed. $($ErrorMessage.NormalizedError)" -Sev Error -LogData $ErrorMessage "Failed to create group. $($GroupObject.displayName) for $($tenant) $($ErrorMessage.NormalizedError)" $StatusCode = [HttpStatusCode]::InternalServerError } diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-AddUser.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-AddUser.ps1 index 95284ed1f333..5a26d87f2694 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-AddUser.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-AddUser.ps1 @@ -15,9 +15,10 @@ function Invoke-AddUser { $UserObj = $Request.Body if ($UserObj.Scheduled.Enabled) { + $Username = $UserObj.username ?? $UserObj.mailNickname $TaskBody = [pscustomobject]@{ TenantFilter = $UserObj.tenantFilter - Name = "New user creation: $($UserObj.mailNickname)@$($UserObj.PrimDomain.value)" + Name = "New user creation: $($Username)@$($UserObj.PrimDomain.value)" Command = @{ value = 'New-CIPPUserTask' label = 'New-CIPPUserTask' diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ListUserCounts.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ListUserCounts.ps1 index 3d07bcb66df9..c77673e9774f 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ListUserCounts.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-ListUserCounts.ps1 @@ -22,7 +22,7 @@ Function Invoke-ListUserCounts { @{ id = 'Users' method = 'GET' - url = "/users?`$count=true&`$top=1" + url = "/users/`$count" headers = @{ 'ConsistencyLevel' = 'eventual' } @@ -30,7 +30,7 @@ Function Invoke-ListUserCounts { @{ id = 'LicUsers' method = 'GET' - url = "/users?`$count=true&`$top=1&`$filter=assignedLicenses/`$count ne 0" + url = "/users/`$count?`$top=1&`$filter=assignedLicenses/`$count ne 0" headers = @{ 'ConsistencyLevel' = 'eventual' } @@ -38,7 +38,7 @@ Function Invoke-ListUserCounts { @{ id = 'GAs' method = 'GET' - url = "/directoryRoles/roleTemplateId=62e90394-69f5-4237-9190-012177145e10/members?`$count=true" + url = "/directoryRoles/roleTemplateId=62e90394-69f5-4237-9190-012177145e10/members/`$count" headers = @{ 'ConsistencyLevel' = 'eventual' } @@ -46,7 +46,7 @@ Function Invoke-ListUserCounts { @{ id = 'Guests' method = 'GET' - url = "/users?`$count=true&`$top=1&`$filter=userType eq 'Guest'" + url = "/users/`$count?`$top=1&`$filter=userType eq 'Guest'" headers = @{ 'ConsistencyLevel' = 'eventual' } @@ -54,16 +54,16 @@ Function Invoke-ListUserCounts { ) # Execute bulk request - $BulkResults = New-GraphBulkRequest -Requests @($BulkRequests) -tenantid $TenantFilter @('Users', 'LicUsers', 'GAs', 'Guests') + $BulkResults = New-GraphBulkRequest -Requests @($BulkRequests) -noPaginateIds @('LicUsers') -tenantid $TenantFilter @('Users', 'LicUsers', 'GAs', 'Guests') # Check if any requests failed $FailedRequests = $BulkResults | Where-Object { $_.status -ne 200 } - + if ($FailedRequests) { # If any requests failed, return an error response $FailedIds = ($FailedRequests | ForEach-Object { $_.id }) -join ', ' $ErrorMessage = "Failed to retrieve counts for: $FailedIds" - + return ([HttpResponseContext]@{ StatusCode = [HttpStatusCode]::InternalServerError Body = @{ @@ -75,13 +75,13 @@ Function Invoke-ListUserCounts { # All requests succeeded, extract the counts $BulkResults | ForEach-Object { - $Count = $_.body.'@odata.count' + $UsersCount = $_.body switch ($_.id) { - 'Users' { $Users = $Count } - 'LicUsers' { $LicUsers = $Count } - 'GAs' { $GAs = $Count } - 'Guests' { $Guests = $Count } + 'Users' { $Users = $UsersCount } + 'LicUsers' { $LicUsers = $UsersCount } + 'GAs' { $GAs = $UsersCount } + 'Guests' { $Guests = $UsersCount } } } diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/New-CippCoreRequest.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/New-CippCoreRequest.ps1 index f7c9e8bc0f2d..fcc01e55c49d 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/New-CippCoreRequest.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/New-CippCoreRequest.ps1 @@ -21,6 +21,9 @@ function New-CippCoreRequest { } if ($PSCmdlet.ShouldProcess("Processing request for $($Request.Params.CIPPEndpoint)")) { + # Set script scope variables for Graph API to indicate HTTP request/high priority + $script:XMsThrottlePriority = 'high' + if ((Get-Command -Name $FunctionName -ErrorAction SilentlyContinue) -or $FunctionName -eq 'Invoke-Me') { try { $Access = Test-CIPPAccess -Request $Request diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Administration/Tenant/Invoke-ListTenants.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Administration/Tenant/Invoke-ListTenants.ps1 index 7defcb81bcb6..a42d86aabb86 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Administration/Tenant/Invoke-ListTenants.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Administration/Tenant/Invoke-ListTenants.ps1 @@ -70,7 +70,16 @@ function Invoke-ListTenants { } try { $TenantFilter = $Request.Query.tenantFilter - $Tenants = Get-Tenants -IncludeErrors -SkipDomains + $tenantParams = @{ + IncludeErrors = $true + SkipDomains = $true + } + if ($TenantFilter -and $TenantFilter -ne 'AllTenants') { + $tenantParams['TenantFilter'] = $TenantFilter + } + + $Tenants = Get-Tenants @tenantParams + if ($TenantAccess -notcontains 'AllTenants') { $Tenants = $Tenants | Where-Object -Property customerId -In $TenantAccess } @@ -98,7 +107,7 @@ function Invoke-ListTenants { } } - if ($null -eq $TenantFilter -or $TenantFilter -eq 'null') { + if (($null -eq $TenantFilter -or $TenantFilter -eq 'null') -or $Request.Query.Mode -eq 'TenantList') { $TenantList = [system.collections.generic.list[object]]::new() if ($AllTenantSelector -eq $true) { $AllTenantsObject = @{ @@ -141,7 +150,7 @@ function Invoke-ListTenants { } } else { - $body = $Tenants | Where-Object -Property defaultDomainName -EQ $TenantFilter + $body = $Tenants } Write-LogMessage -headers $Headers -tenant $TenantFilter -API $APIName -message 'Listed Tenant Details' -Sev 'Debug' diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/GDAP/Invoke-ExecGDAPInvite.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/GDAP/Invoke-ExecGDAPInvite.ps1 index f26222721053..baf649e6c680 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/GDAP/Invoke-ExecGDAPInvite.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/GDAP/Invoke-ExecGDAPInvite.ps1 @@ -93,10 +93,10 @@ function Invoke-ExecGDAPInvite { 'InviteUrl' = $InviteUrl 'OnboardingUrl' = $OnboardingUrl 'RoleMappings' = [string](@($RoleMappings) | ConvertTo-Json -Depth 10 -Compress) - 'Technician' = $Technician + 'Technician' = [string]$Technician } - if ($Reference) { $InviteEntity['Reference'] = $Reference } + if ($Reference) { $InviteEntity['Reference'] = [string]$Reference } Add-CIPPAzDataTableEntity @Table -Entity $InviteEntity @@ -125,7 +125,7 @@ function Invoke-ExecGDAPInvite { Invite = $InviteEntity } } - 'Update'{ + 'Update' { $Invite = Get-CIPPAzDataTableEntity @Table -Filter "PartitionKey eq 'invite' and RowKey eq '$InviteId'" if ($Invite) { diff --git a/Modules/CIPPCore/Public/Entrypoints/Invoke-ListExternalTenantInfo.ps1 b/Modules/CIPPCore/Public/Entrypoints/Invoke-ListExternalTenantInfo.ps1 index 78ee37835ed2..31844a48a08d 100644 --- a/Modules/CIPPCore/Public/Entrypoints/Invoke-ListExternalTenantInfo.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/Invoke-ListExternalTenantInfo.ps1 @@ -1,4 +1,4 @@ -Function Invoke-ListExternalTenantInfo { +function Invoke-ListExternalTenantInfo { <# .FUNCTIONALITY Entrypoint,AnyTenant @@ -9,7 +9,7 @@ Function Invoke-ListExternalTenantInfo { param($Request, $TriggerMetadata) $HttpResponse = [HttpResponseContext]@{ StatusCode = [HttpStatusCode]::OK - Body = "Default response, you should never see this" + Body = 'Default response, you should never see this' } try { @@ -31,12 +31,12 @@ Function Invoke-ListExternalTenantInfo { } } else { $HttpResponse.StatusCode = [HttpStatusCode]::BadRequest - $HttpResponse.Body = "Tenant parameter is required" + $HttpResponse.Body = 'Tenant parameter is required' } } catch { $HttpResponse.StatusCode = [HttpStatusCode]::InternalServerError $HttpResponse.Body = "Something went wrong while trying to get tenant info for tenant $($Tenant): $($_.Exception.Message)" } - return $1 + return [HttpResponseContext]$HttpResponse } diff --git a/Modules/CIPPCore/Public/GraphHelper/Get-GraphToken.ps1 b/Modules/CIPPCore/Public/GraphHelper/Get-GraphToken.ps1 index c89d8fd2dd75..327052774f61 100644 --- a/Modules/CIPPCore/Public/GraphHelper/Get-GraphToken.ps1 +++ b/Modules/CIPPCore/Public/GraphHelper/Get-GraphToken.ps1 @@ -95,10 +95,14 @@ function Get-GraphToken($tenantid, $scope, $AsApp, $AppID, $AppSecret, $refreshT } } $Tenant.LastGraphError = if ( $_.ErrorDetails.Message) { - $msg = $_.ErrorDetails.Message | ConvertFrom-Json - "$($msg.error):$($msg.error_description)" + if (Test-Json $_.ErrorDetails.Message -ErrorAction SilentlyContinue) { + $msg = $_.ErrorDetails.Message | ConvertFrom-Json + "$($msg.error):$($msg.error_description)" + } else { + "$($_.ErrorDetails.Message)" + } } else { - $_.Exception.message + $_.Exception.Message } $Tenant.GraphErrorCount++ diff --git a/Modules/CIPPCore/Public/GraphHelper/New-GraphBulkRequest.ps1 b/Modules/CIPPCore/Public/GraphHelper/New-GraphBulkRequest.ps1 index b6c925415458..503daa4c3e90 100644 --- a/Modules/CIPPCore/Public/GraphHelper/New-GraphBulkRequest.ps1 +++ b/Modules/CIPPCore/Public/GraphHelper/New-GraphBulkRequest.ps1 @@ -17,6 +17,10 @@ function New-GraphBulkRequest { if ($NoAuthCheck -or (Get-AuthorisedRequest -Uri $uri -TenantID $tenantid)) { $headers = Get-GraphToken -tenantid $tenantid -scope $scope -AsApp $asapp + if ($script:XMsThrottlePriority) { + $headers['x-ms-throttle-priority'] = $script:XMsThrottlePriority + } + $URL = "https://graph.microsoft.com/$Version/`$batch" # Track consecutive Graph API failures diff --git a/Modules/CIPPCore/Public/GraphHelper/New-GraphGetRequest.ps1 b/Modules/CIPPCore/Public/GraphHelper/New-GraphGetRequest.ps1 index 86f5ef44c70c..293add8a1f76 100644 --- a/Modules/CIPPCore/Public/GraphHelper/New-GraphGetRequest.ps1 +++ b/Modules/CIPPCore/Public/GraphHelper/New-GraphGetRequest.ps1 @@ -36,6 +36,11 @@ function New-GraphGetRequest { if ($ComplexFilter) { $headers['ConsistencyLevel'] = 'eventual' } + + if ($script:XMsThrottlePriority) { + $headers['x-ms-throttle-priority'] = $script:XMsThrottlePriority + } + $nextURL = $uri if ($extraHeaders) { foreach ($key in $extraHeaders.Keys) { @@ -68,15 +73,14 @@ function New-GraphGetRequest { Headers = $headers ContentType = 'application/json; charset=utf-8' } - if ($IncludeResponseHeaders) { - $GraphRequest.ResponseHeadersVariable = 'ResponseHeaders' - } if ($ReturnRawResponse) { $GraphRequest.SkipHttpErrorCheck = $true $Data = Invoke-WebRequest @GraphRequest } else { + $GraphRequest.ResponseHeadersVariable = 'ResponseHeaders' $Data = (Invoke-RestMethod @GraphRequest) + $script:LastGraphResponseHeaders = $ResponseHeaders } # If we reach here, the request was successful diff --git a/Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardAddDMARCToMOERA.ps1 b/Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardAddDMARCToMOERA.ps1 index 9f4f6ad04c26..add17140e51f 100644 --- a/Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardAddDMARCToMOERA.ps1 +++ b/Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardAddDMARCToMOERA.ps1 @@ -42,12 +42,12 @@ function Invoke-CIPPStandardAddDMARCToMOERA { HostName = '_dmarc' TtlValue = 3600 Type = 'TXT' - Value = $Settings.RecordValue.Value ?? "v=DMARC1; p=reject;" + Value = $Settings.RecordValue.Value ?? 'v=DMARC1; p=reject;' } # Get all fallback domains (onmicrosoft.com domains) and check if the DMARC record is set correctly try { - $Domains = New-GraphGetRequest -scope 'https://admin.microsoft.com/.default' -TenantID $Tenant -Uri 'https://admin.microsoft.com/admin/api/Domains/List' | Where-Object -Property Name -like "*.onmicrosoft.com" + $Domains = New-GraphGetRequest -scope 'https://admin.microsoft.com/.default' -TenantID $Tenant -Uri 'https://admin.microsoft.com/admin/api/Domains/List' | Where-Object -Property Name -Like '*.onmicrosoft.com' $CurrentInfo = $Domains | ForEach-Object { # Get current DNS records that matches _dmarc hostname and TXT type @@ -56,9 +56,9 @@ function Invoke-CIPPStandardAddDMARCToMOERA { if ($CurrentRecords.count -eq 0) { #record not found, return a model with Match set to false [PSCustomObject]@{ - DomainName = $_.Name - Match = $false - CurrentRecord = $null + DomainName = $_.Name + Match = $false + CurrentRecord = $null } } else { foreach ($CurrentRecord in $CurrentRecords) { @@ -73,15 +73,15 @@ function Invoke-CIPPStandardAddDMARCToMOERA { # Compare the current record with the expected record model if (!(Compare-Object -ReferenceObject $RecordModel -DifferenceObject $CurrentRecordModel -Property HostName, TtlValue, Type, Value)) { [PSCustomObject]@{ - DomainName = $_.Name - Match = $true - CurrentRecord = $CurrentRecord + DomainName = $_.Name + Match = $true + CurrentRecord = $CurrentRecord } } else { [PSCustomObject]@{ - DomainName = $_.Name - Match = $false - CurrentRecord = $CurrentRecord + DomainName = $_.Name + Match = $false + CurrentRecord = $CurrentRecord } } } @@ -92,32 +92,29 @@ function Invoke-CIPPStandardAddDMARCToMOERA { } catch { if ($_.Exception.Message -like '*403*') { $Message = "AddDMARCToMOERA: Insufficient permissions. Please ensure the tenant GDAP relationship includes the 'Domain Name Administrator' role: $(Get-NormalizedError -message $_.Exception.message)" - } - else { + } else { $Message = "Failed to get dns records for MOERA domains: $(Get-NormalizedError -message $_.Exception.message)" } Write-LogMessage -API 'Standards' -tenant $tenant -message $Message -sev Error - throw $Message + return $Message } - If ($Settings.remediate -eq $true) { + if ($Settings.remediate -eq $true) { if ($StateIsCorrect -eq $true) { Write-LogMessage -API 'Standards' -tenant $tenant -message 'DMARC record is already set for all MOERA (onmicrosoft.com) domains.' -sev Info - } - else { + } else { # Loop through each domain and set the DMARC record, existing misconfigured records and duplicates will be deleted foreach ($Domain in ($CurrentInfo | Sort-Object -Property DomainName -Unique)) { try { - foreach ($Record in ($CurrentInfo | Where-Object -Property DomainName -eq $Domain.DomainName)) { + foreach ($Record in ($CurrentInfo | Where-Object -Property DomainName -EQ $Domain.DomainName)) { if ($Record.CurrentRecord) { - New-GraphPOSTRequest -tenantid $tenant -scope 'https://admin.microsoft.com/.default' -Uri "https://admin.microsoft.com/admin/api/Domains/Record?domainName=$($Domain.DomainName)" -Body ($Record.CurrentRecord | ConvertTo-Json -Compress) -AddedHeaders @{'x-http-method-override' = 'Delete'} + New-GraphPOSTRequest -tenantid $tenant -scope 'https://admin.microsoft.com/.default' -Uri "https://admin.microsoft.com/admin/api/Domains/Record?domainName=$($Domain.DomainName)" -Body ($Record.CurrentRecord | ConvertTo-Json -Compress) -AddedHeaders @{'x-http-method-override' = 'Delete' } Write-LogMessage -API 'Standards' -tenant $tenant -message "Deleted incorrect DMARC record for domain $($Domain.DomainName)" -sev Info } - New-GraphPOSTRequest -tenantid $tenant -scope 'https://admin.microsoft.com/.default' -type "PUT" -Uri "https://admin.microsoft.com/admin/api/Domains/Record?domainName=$($Domain.DomainName)" -Body (@{RecordModel = $RecordModel} | ConvertTo-Json -Compress) + New-GraphPOSTRequest -tenantid $tenant -scope 'https://admin.microsoft.com/.default' -type 'PUT' -Uri "https://admin.microsoft.com/admin/api/Domains/Record?domainName=$($Domain.DomainName)" -Body (@{RecordModel = $RecordModel } | ConvertTo-Json -Compress) Write-LogMessage -API 'Standards' -tenant $tenant -message "Set DMARC record for domain $($Domain.DomainName)" -sev Info } - } - catch { + } catch { Write-LogMessage -API 'Standards' -tenant $tenant -message "Failed to set DMARC record for domain $($Domain.DomainName): $(Get-NormalizedError -message $_.Exception.message)" -sev Error } } @@ -129,10 +126,10 @@ function Invoke-CIPPStandardAddDMARCToMOERA { Write-LogMessage -API 'Standards' -tenant $tenant -message 'DMARC record is already set for all MOERA (onmicrosoft.com) domains.' -sev Info } else { $UniqueDomains = ($CurrentInfo | Sort-Object -Property DomainName -Unique) - $NotSetDomains = @($UniqueDomains | ForEach-Object {if ($_.Match -eq $false -or ($CurrentInfo | Where-Object -Property DomainName -eq $_.DomainName).Count -eq 1) { $_.DomainName } }) + $NotSetDomains = @($UniqueDomains | ForEach-Object { if ($_.Match -eq $false -or ($CurrentInfo | Where-Object -Property DomainName -EQ $_.DomainName).Count -eq 1) { $_.DomainName } }) $Message = "DMARC record is not set for $($NotSetDomains.count) of $($UniqueDomains.count) MOERA (onmicrosoft.com) domains." - Write-StandardsAlert -message $Message -object @{MissingDMARC = ($NotSetDomains -join ', ')} -tenant $tenant -standardName 'AddDMARCToMOERA' -standardId $Settings.standardId + Write-StandardsAlert -message $Message -object @{MissingDMARC = ($NotSetDomains -join ', ') } -tenant $tenant -standardName 'AddDMARCToMOERA' -standardId $Settings.standardId Write-LogMessage -API 'Standards' -tenant $tenant -message "$Message. Missing for: $($NotSetDomains -join ', ')" -sev Info } } diff --git a/Modules/CIPPCore/Public/Tools/Import-CommunityTemplate.ps1 b/Modules/CIPPCore/Public/Tools/Import-CommunityTemplate.ps1 index 6b5ee473988c..99e2736c9872 100644 --- a/Modules/CIPPCore/Public/Tools/Import-CommunityTemplate.ps1 +++ b/Modules/CIPPCore/Public/Tools/Import-CommunityTemplate.ps1 @@ -41,6 +41,12 @@ function Import-CommunityTemplate { $excludedTenants = $ExistingJSON.excludedTenants $NewJSON.tenantFilter = $tenantFilter $NewJSON.excludedTenants = $excludedTenants + + # Extract package tag from existing template + $PackageTag = $Existing.Package + if ($PackageTag) { + $Template | Add-Member -MemberType NoteProperty -Name Package -Value $PackageTag -Force + } } } diff --git a/Modules/CippExtensions/Public/Extension Functions/Register-CippExtensionScheduledTasks.ps1 b/Modules/CippExtensions/Public/Extension Functions/Register-CippExtensionScheduledTasks.ps1 index 2ddacf8392f4..bbb6c22e56c1 100644 --- a/Modules/CippExtensions/Public/Extension Functions/Register-CippExtensionScheduledTasks.ps1 +++ b/Modules/CippExtensions/Public/Extension Functions/Register-CippExtensionScheduledTasks.ps1 @@ -1,6 +1,8 @@ function Register-CIPPExtensionScheduledTasks { param( - [switch]$Reschedule + [switch]$Reschedule, + [int64]$NextSync = (([datetime]::UtcNow.AddMinutes(30)) - (Get-Date '1/1/1970')).TotalSeconds, + [string[]]$Extensions = @('Hudu', 'NinjaOne', 'CustomData') ) # get extension configuration and mappings table @@ -14,7 +16,6 @@ function Register-CIPPExtensionScheduledTasks { $PushTasks = Get-CIPPAzDataTableEntity @ScheduledTasksTable -Filter 'Hidden eq true' | Where-Object { $_.Command -match 'Push-CippExtensionData' } $Tenants = Get-Tenants -IncludeErrors - $Extensions = @('Hudu', 'NinjaOne', 'CustomData') $MappedTenants = [System.Collections.Generic.List[string]]::new() foreach ($Extension in $Extensions) { $ExtensionConfig = $Config.$Extension @@ -69,7 +70,7 @@ function Register-CIPPExtensionScheduledTasks { $MappedTenants.Add($Tenant.defaultDomainName) foreach ($SyncType in $SyncTypes) { $ExistingTask = $ScheduledTasks | Where-Object { $_.Tenant -eq $Tenant.defaultDomainName -and $_.SyncType -eq $SyncType } - if (!$ExistingTask -or $Reschedule.IsPresent) { + if (!$ExistingTask) { $unixtime = [int64](([datetime]::UtcNow) - (Get-Date '1/1/1970')).TotalSeconds $Task = [pscustomobject]@{ Name = "Extension Sync - $SyncType" @@ -96,7 +97,7 @@ function Register-CIPPExtensionScheduledTasks { $ExistingPushTask = $PushTasks | Where-Object { $_.Tenant -eq $Tenant.defaultDomainName -and $_.SyncType -eq $Extension } if ((!$ExistingPushTask -or $Reschedule.IsPresent) -and $Extension -ne 'NinjaOne') { # push cached data to extension - $in30mins = [int64](([datetime]::UtcNow.AddMinutes(30)) - (Get-Date '1/1/1970')).TotalSeconds + $Task = [pscustomobject]@{ Name = "$Extension Extension Sync" Command = @{ @@ -108,7 +109,7 @@ function Register-CIPPExtensionScheduledTasks { Extension = $Extension } Recurrence = '1d' - ScheduledTime = $in30mins + ScheduledTime = $NextSync TenantFilter = $Tenant.defaultDomainName } if ($ExistingPushTask) { diff --git a/Modules/MicrosoftTeams/7.3.1/net472/CmdletSettings.json b/Modules/MicrosoftTeams/7.3.1/net472/CmdletSettings.json deleted file mode 100644 index fbfce66a5c53..000000000000 --- a/Modules/MicrosoftTeams/7.3.1/net472/CmdletSettings.json +++ /dev/null @@ -1,255 +0,0 @@ -{ - "EnvironmentConfigurations": [ - { - "environmentType": "INT", - "configApiBaseUrl": "https://dev.api.interfaces.records.teams.microsoft.com", - "resourceId": "4cdeebb1-712e-4b2c-b450-eeef9fc1bc18", - "authority": "https://login.microsoftonline.com/common", - "serviceConfigurations": { - "GPA": { - "clientId": "10b74c53-e4d3-40f9-87ff-b46c872c329b", - "redirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient", - "extensions": {} - }, - "DSSYNC": { - "clientId": "c3d9ab47-b29a-4acb-9935-70f216a3deb3", - "redirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient", - "extensions": {} - }, - "LROS": { - "clientId": "ec73d46d-93d3-49b1-86e4-996b33fca112", - "redirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient", - "extensions": {} - }, - "NGTPROV": { - "clientId": "036102b5-b27c-4591-91aa-1e1eb70bdb1a", - "redirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient", - "extensions": {} - } - } - }, - { - "environmentType": "MultiTenant", - "configApiBaseUrl": "https://api.interfaces.records.teams.microsoft.com", - "resourceId": "48ac35b8-9aa8-4d74-927d-1f4a14a0b239", - "authority": "https://login.microsoftonline.com/common", - "serviceConfigurations": { - "GPA": { - "clientId": "e6fe3e2b-7019-44bf-a0e8-e1e2745081fb", - "redirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient", - "extensions": {} - }, - "DSSYNC": { - "clientId": "22e233c6-8873-48e8-a1b7-d363357d706d", - "redirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient", - "extensions": {} - }, - "LROS": { - "clientId": "0f7fe8a8-182d-4625-8e95-4cbc7a4384e0", - "redirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient", - "extensions": {} - }, - "NGTPROV": { - "clientId": "a4d23afe-0054-4eba-b30f-c99bd5314e9c", - "redirectUri": "https://login.microsoftonline.com/common/oauth2/nativeclient", - "extensions": {} - } - } - }, - { - "environmentType": "Ag08", - "configApiBaseUrl": "https://api.interfaces.records.teams.eaglex.ic.gov", - "resourceId": "48ac35b8-9aa8-4d74-927d-1f4a14a0b239", - "authority": "https://login.microsoftonline.eaglex.ic.gov/common", - "serviceConfigurations": { - "GPA": { - "clientId": "7cd1687e-80b2-41a8-9fe3-9bd47a36fd77", - "redirectUri": "https://login.microsoftonline.eaglex.ic.gov/common/oauth2/nativeclient", - "extensions": {} - }, - "DSSYNC": { - "clientId": "7cd1687e-80b2-41a8-9fe3-9bd47a36fd77", - "redirectUri": "https://login.microsoftonline.eaglex.ic.gov/common/oauth2/nativeclient", - "extensions": {} - }, - "LROS": { - "clientId": "7cd1687e-80b2-41a8-9fe3-9bd47a36fd77", - "redirectUri": "https://login.microsoftonline.eaglex.ic.gov/common/oauth2/nativeclient", - "extensions": {} - }, - "NGTPROV": { - "clientId": "7cd1687e-80b2-41a8-9fe3-9bd47a36fd77", - "redirectUri": "https://login.microsoftonline.eaglex.ic.gov/common/oauth2/nativeclient", - "extensions": {} - } - } - }, - { - "environmentType": "Ag09", - "configApiBaseUrl": "https://api.interfaces.records.teams.microsoft.scloud", - "resourceId": "48ac35b8-9aa8-4d74-927d-1f4a14a0b239", - "authority": "https://login.microsoftonline.microsoft.scloud/common", - "serviceConfigurations": { - "GPA": { - "clientId": "26f9beea-b439-45e6-88fe-b3fe6ff4387c", - "redirectUri": "https://login.microsoftonline.microsoft.scloud/common/oauth2/nativeclient", - "extensions": {} - }, - "DSSYNC": { - "clientId": "26f9beea-b439-45e6-88fe-b3fe6ff4387c", - "redirectUri": "https://login.microsoftonline.microsoft.scloud/common/oauth2/nativeclient", - "extensions": {} - }, - "LROS": { - "clientId": "26f9beea-b439-45e6-88fe-b3fe6ff4387c", - "redirectUri": "https://login.microsoftonline.microsoft.scloud/common/oauth2/nativeclient", - "extensions": {} - }, - "NGTPROV": { - "clientId": "26f9beea-b439-45e6-88fe-b3fe6ff4387c", - "redirectUri": "https://login.microsoftonline.microsoft.scloud/common/oauth2/nativeclient", - "extensions": {} - } - } - }, - { - "environmentType": "Gallatin", - "configApiBaseUrl": "https://api.interfaces.records.teams.microsoftonline.cn", - "resourceId": "48ac35b8-9aa8-4d74-927d-1f4a14a0b239", - "authority": "https://login.partner.microsoftonline.cn/common", - "serviceConfigurations": { - "GPA": { - "clientId": "3eeff3ec-e916-439a-bea9-d6768b4bc311", - "redirectUri": "https://login.partner.microsoftonline.cn/common/oauth2/nativeclient", - "extensions": {} - }, - "DSSYNC": { - "clientId": "3eeff3ec-e916-439a-bea9-d6768b4bc311", - "redirectUri": "https://login.partner.microsoftonline.cn/common/oauth2/nativeclient", - "extensions": {} - }, - "LROS": { - "clientId": "3eeff3ec-e916-439a-bea9-d6768b4bc311", - "redirectUri": "https://login.partner.microsoftonline.cn/common/oauth2/nativeclient", - "extensions": {} - }, - "NGTPROV": { - "clientId": "3eeff3ec-e916-439a-bea9-d6768b4bc311", - "redirectUri": "https://login.partner.microsoftonline.cn/common/oauth2/nativeclient", - "extensions": {} - } - } - }, - { - "environmentType": "Itar", - "configApiBaseUrl": "https://api.interfaces.records.gov.teams.microsoft.us", - "resourceId": "48ac35b8-9aa8-4d74-927d-1f4a14a0b239", - "authority": "https://login.microsoftonline.us/common", - "serviceConfigurations": { - "GPA": { - "clientId": "b72af4de-f00a-45a5-8378-aec2f317cf27", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "DSSYNC": { - "clientId": "b72af4de-f00a-45a5-8378-aec2f317cf27", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "LROS": { - "clientId": "b72af4de-f00a-45a5-8378-aec2f317cf27", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "NGTPROV": { - "clientId": "b72af4de-f00a-45a5-8378-aec2f317cf27", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - } - } - }, - { - "environmentType": "GCCH", - "configApiBaseUrl": "https://api.interfaces.records.gov.teams.microsoft.us", - "resourceId": "48ac35b8-9aa8-4d74-927d-1f4a14a0b239", - "authority": "https://login.microsoftonline.us/common", - "serviceConfigurations": { - "GPA": { - "clientId": "b72af4de-f00a-45a5-8378-aec2f317cf27", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "DSSYNC": { - "clientId": "b72af4de-f00a-45a5-8378-aec2f317cf27", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "LROS": { - "clientId": "b72af4de-f00a-45a5-8378-aec2f317cf27", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "NGTPROV": { - "clientId": "b72af4de-f00a-45a5-8378-aec2f317cf27", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - } - } - }, - { - "environmentType": "DOD", - "configApiBaseUrl": "https://api.interfaces.records.dod.teams.microsoft.us", - "resourceId": "48ac35b8-9aa8-4d74-927d-1f4a14a0b239", - "authority": "https://login.microsoftonline.us/common", - "serviceConfigurations": { - "GPA": { - "clientId": "0a0e38c7-8ce5-4e77-a099-9a9f3c5d09aa", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "DSSYNC": { - "clientId": "0a0e38c7-8ce5-4e77-a099-9a9f3c5d09aa", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "LROS": { - "clientId": "0a0e38c7-8ce5-4e77-a099-9a9f3c5d09aa", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - }, - "NGTPROV": { - "clientId": "0a0e38c7-8ce5-4e77-a099-9a9f3c5d09aa", - "redirectUri": "https://login.microsoftonline.us/common/oauth2/nativeclient", - "extensions": {} - } - } - } - ], - "ServiceUriSuffixes": { - "GPA": { - "ReprocessGroupPolicyAssignment": "Skype.Policy/groupPolicyAssignments/{groupId}/policyTypes/{policyType}/reprocess?tenantRegion={region}", - "RefreshGroupUsers": "Skype.Policy/groupPolicyAssignments/{groupId}/refresh/users?tenantRegion={region}&userId={userId}&policyType={policyType}", - "GetGPAGroupMembers": "Teams.InternalSupport/groups/{groupId}/users?all={all}", - "GetGPAUserMembership": "Teams.InternalSupport/users/{userId}/memberOf", - "GetGroupPolicyAssignment": "Skype.Policy/groupPolicyAssignments/oce/{groupId}/policyTypes/{policyType}", - "GetGroupPolicyAssignments": "Skype.Policy/groupPolicyAssignments/oce/{groupId}/policyTypes", - "GetPolicyAssignmentForGroups": "Skype.Policy/groupPolicyAssignments/oce?policyType={policyType}", - "GetAllGroupPolicyAssignments": "Skype.Policy/groupPolicyAssignments/oce" - }, - "DSSYNC": { - "DirectoryObjectSync": "Teams.InternalSupport/ProvisioningOperations/DsRequest" - }, - "LROS": { - "GetBatchOperationStatusForRegion": "Skype.Policy/assignments/operations/status/{operationId}?region={region}", - "GetAllBatchOperationStatusForRegion": "Skype.Policy/assignments/operations/status?region={region}", - "GetBatchOperationDefinitionForRegion": "Skype.Policy/assignments/operations/definition/{operationId}?region={region}", - "ReprocessBatchOperationForRegion": "Skype.Policy/assignments/operations/reprocess/{operationId}?region={region}" - }, - "NGTPROV": { - "MoveNgtProvInstance": "Teams.InternalSupport/NgtProvOperations/Failover/{sideA}/{sideB}?region={region}", - "NgtProvInstanceFailOverStatus": "Teams.InternalSupport/NgtProvOperations/FailoverStatus?region={region}", - "UserProvHistory": "Teams.InternalSupport/AdminStoreOperations/userHistory/{userId}/{region}", - "GenericNgtProvCommand": "Teams.InternalSupport/ProvisioningOperations/runHandler/{region}?handler={handler}?tenant={tenant}?target={target}?serviceInstance={serviceInstance}" - } - } -} \ No newline at end of file diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.ApplicationInsights.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.ApplicationInsights.dll deleted file mode 100644 index 75c0b3101f3e..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.ApplicationInsights.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Applications.Events.Server.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Applications.Events.Server.dll deleted file mode 100644 index 7a98c9523e37..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Applications.Events.Server.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.AzureServiceDeploy.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.AzureServiceDeploy.dll deleted file mode 100644 index 948e13197906..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.AzureServiceDeploy.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Core.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Core.dll deleted file mode 100644 index 0e30999eac42..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Core.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Cryptography.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Cryptography.dll deleted file mode 100644 index db609fa3ab94..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Cryptography.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Jose.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Jose.dll deleted file mode 100644 index 25c282a8f2b1..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Azure.KeyVault.Jose.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Data.Sqlite.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Data.Sqlite.dll deleted file mode 100644 index 4adf3e50dc5b..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Data.Sqlite.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Configuration.Abstractions.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Configuration.Abstractions.dll deleted file mode 100644 index 48d19a5eed7f..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Configuration.Abstractions.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Configuration.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Configuration.dll deleted file mode 100644 index 70ad7ac63f76..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Configuration.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.DependencyInjection.Abstractions.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.DependencyInjection.Abstractions.dll deleted file mode 100644 index 67221c302e7f..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.DependencyInjection.Abstractions.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Logging.Abstractions.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Logging.Abstractions.dll deleted file mode 100644 index 76922a4f85de..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Logging.Abstractions.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Logging.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Logging.dll deleted file mode 100644 index 8aaf65cb1d88..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Logging.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Primitives.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Primitives.dll deleted file mode 100644 index a27ef60d7aae..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Extensions.Primitives.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Ic3.TenantAdminApi.Common.Helper.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Ic3.TenantAdminApi.Common.Helper.dll deleted file mode 100644 index d68934c670ea..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Ic3.TenantAdminApi.Common.Helper.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Broker.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Broker.dll deleted file mode 100644 index 6d50788b92b2..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Broker.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Desktop.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Desktop.dll deleted file mode 100644 index 3a73c9040e9f..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Desktop.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Extensions.Msal.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Extensions.Msal.dll deleted file mode 100644 index 1562e125e9ed..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.Extensions.Msal.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.NativeInterop.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.NativeInterop.dll deleted file mode 100644 index e162e458cfc1..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.NativeInterop.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.dll deleted file mode 100644 index ba79f12c7b41..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Identity.Client.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Abstractions.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Abstractions.dll deleted file mode 100644 index 1eda1dd393fa..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Abstractions.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.JsonWebTokens.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.JsonWebTokens.dll deleted file mode 100644 index 3a2466232de0..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.JsonWebTokens.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Logging.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Logging.dll deleted file mode 100644 index 0b8c4696928e..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Logging.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Tokens.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Tokens.dll deleted file mode 100644 index 4544166c9c0c..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.IdentityModel.Tokens.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Rest.ClientRuntime.Azure.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Rest.ClientRuntime.Azure.dll deleted file mode 100644 index 35dd4bb28fd6..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Rest.ClientRuntime.Azure.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Rest.ClientRuntime.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Rest.ClientRuntime.dll deleted file mode 100644 index 293badf6a9df..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Rest.ClientRuntime.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.ConfigAPI.CmdletHostContract.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.ConfigAPI.CmdletHostContract.dll deleted file mode 100644 index 278930a0a729..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.ConfigAPI.CmdletHostContract.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll deleted file mode 100644 index 3fea025d6e3c..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.OCE.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.OCE.dll deleted file mode 100644 index cb26c105168e..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.OCE.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Providers.PolicyRp.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Providers.PolicyRp.dll deleted file mode 100644 index 10366b7cbe95..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Providers.PolicyRp.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Providers.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Providers.dll deleted file mode 100644 index a47240ae10cb..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.Cmdlets.Providers.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.dll deleted file mode 100644 index 8b54d5f3ed99..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.Policy.Administration.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.dll deleted file mode 100644 index 047be1b0e4af..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.pdb b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.pdb deleted file mode 100644 index 03e9f43301cd..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.pdb and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.xml b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.xml deleted file mode 100644 index 9c5b7f84166a..000000000000 --- a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.Module.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - Microsoft.Teams.PowerShell.Module - - - - diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.TeamsCmdlets.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.TeamsCmdlets.dll deleted file mode 100644 index 2d2a889b44e8..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Teams.PowerShell.TeamsCmdlets.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.TeamsCmdlets.PowerShell.Connect.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.TeamsCmdlets.PowerShell.Connect.dll deleted file mode 100644 index 008cd20c4d07..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.TeamsCmdlets.PowerShell.Connect.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.Core.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.Core.dll deleted file mode 100644 index 30dc94fa3e04..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.Core.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.WinForms.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.WinForms.dll deleted file mode 100644 index c4bf9a93784f..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.WinForms.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.Wpf.dll b/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.Wpf.dll deleted file mode 100644 index 12961561c2c9..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Microsoft.Web.WebView2.Wpf.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Newtonsoft.Json.dll b/Modules/MicrosoftTeams/7.3.1/net472/Newtonsoft.Json.dll deleted file mode 100644 index 6a7564a73e2f..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Newtonsoft.Json.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/OneCollectorChannel.dll b/Modules/MicrosoftTeams/7.3.1/net472/OneCollectorChannel.dll deleted file mode 100644 index 7ddfa5c3cd7d..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/OneCollectorChannel.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Polly.Contrib.WaitAndRetry.dll b/Modules/MicrosoftTeams/7.3.1/net472/Polly.Contrib.WaitAndRetry.dll deleted file mode 100644 index d8fa6e188005..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Polly.Contrib.WaitAndRetry.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/Polly.dll b/Modules/MicrosoftTeams/7.3.1/net472/Polly.dll deleted file mode 100644 index 40d89db1e19f..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/Polly.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Buffers.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Buffers.dll deleted file mode 100644 index d62b310ecfba..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Buffers.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Diagnostics.DiagnosticSource.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Diagnostics.DiagnosticSource.dll deleted file mode 100644 index 16576b16c9f3..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Diagnostics.DiagnosticSource.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.IO.FileSystem.AccessControl.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.IO.FileSystem.AccessControl.dll deleted file mode 100644 index ff3b6d6cdb38..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.IO.FileSystem.AccessControl.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.IdentityModel.Tokens.Jwt.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.IdentityModel.Tokens.Jwt.dll deleted file mode 100644 index d0a078c48c9b..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.IdentityModel.Tokens.Jwt.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Management.Automation.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Management.Automation.dll deleted file mode 100644 index 783d87a50e2f..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Management.Automation.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Memory.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Memory.dll deleted file mode 100644 index a7c25901c8af..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Memory.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Numerics.Vectors.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Numerics.Vectors.dll deleted file mode 100644 index d957283f270e..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Numerics.Vectors.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Runtime.CompilerServices.Unsafe.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Runtime.CompilerServices.Unsafe.dll deleted file mode 100644 index bc39b5421aaa..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Runtime.CompilerServices.Unsafe.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Security.AccessControl.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Security.AccessControl.dll deleted file mode 100644 index e3bff2c2bb53..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Security.AccessControl.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Security.Cryptography.ProtectedData.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Security.Cryptography.ProtectedData.dll deleted file mode 100644 index 9aae8850650a..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Security.Cryptography.ProtectedData.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.Security.Principal.Windows.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.Security.Principal.Windows.dll deleted file mode 100644 index f44d67c73c07..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.Security.Principal.Windows.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/System.ValueTuple.dll b/Modules/MicrosoftTeams/7.3.1/net472/System.ValueTuple.dll deleted file mode 100644 index ab335a1b2dda..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/System.ValueTuple.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-arm64/native/msalruntime_arm64.dll b/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-arm64/native/msalruntime_arm64.dll deleted file mode 100644 index a6a80f8d4044..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-arm64/native/msalruntime_arm64.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-x64/native/msalruntime.dll b/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-x64/native/msalruntime.dll deleted file mode 100644 index ade6939ad86d..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-x64/native/msalruntime.dll and /dev/null differ diff --git a/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-x86/native/msalruntime_x86.dll b/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-x86/native/msalruntime_x86.dll deleted file mode 100644 index 74a23b2036bd..000000000000 Binary files a/Modules/MicrosoftTeams/7.3.1/net472/runtimes/win-x86/native/msalruntime_x86.dll and /dev/null differ diff --git a/host.json b/host.json index 5f12cbdf227a..e0b8b636c71e 100644 --- a/host.json +++ b/host.json @@ -13,7 +13,7 @@ "maxConcurrentActivityFunctions": 5, "maxConcurrentOrchestratorFunctions": 2, "tracing": { - "distributedTracingEnabled": true, + "distributedTracingEnabled": false, "version": "V2" } } diff --git a/version_latest.txt b/version_latest.txt index f9c71a52e2fd..85e2cd530929 100644 --- a/version_latest.txt +++ b/version_latest.txt @@ -1 +1 @@ -8.5.1 +8.5.2