File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Teams-Sharepoint Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Function Invoke-ListTeamsVoice {
28
28
$data = (New-TeamsAPIGetRequest - uri " https://api.interfaces.records.teams.microsoft.com/Skype.TelephoneNumberMgmt/Tenants/$ ( $Tenantid ) /telephone-numbers?skip=$ ( $skip ) &locale=en-US&top=999" - tenantid $TenantFilter ).TelephoneNumbers | ForEach-Object {
29
29
Write-Host ' Reached the loop'
30
30
$CompleteRequest = $_ | Select-Object * , @ {Name = ' AssignedTo' ; Expression = { $users | Where-Object - Property id -EQ $_.AssignedTo.id } }
31
- $CompleteRequest.AcquisitionDate ? ($CompleteRequest.AcquisitionDate = $CompleteRequest .AcquisitionDate -split ' T' | Select-Object - First 1 ) : ($CompleteRequest | Add-Member - NotePropertyName ' AcquisitionDate' - NotePropertyValue ' Unknown' - Force)
31
+ $CompleteRequest.AcquisitionDate ? ($CompleteRequest.AcquisitionDate -split ' T' | Select-Object - First 1 ) : ($CompleteRequest | Add-Member - NotePropertyName ' AcquisitionDate' - NotePropertyValue ' Unknown' - Force)
32
32
$CompleteRequest.AssignedTo ? $null : ($CompleteRequest | Add-Member - NotePropertyName ' AssignedTo' - NotePropertyValue ' Unassigned' - Force)
33
33
$CompleteRequest
34
34
}
You can’t perform that action at this time.
0 commit comments