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 {
2828 $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 {
2929 Write-Host ' Reached the loop'
3030 $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)
3232 $CompleteRequest.AssignedTo ? $null : ($CompleteRequest | Add-Member - NotePropertyName ' AssignedTo' - NotePropertyValue ' Unassigned' - Force)
3333 $CompleteRequest
3434 }
You can’t perform that action at this time.
0 commit comments