Atreidae / UcmPSTools

A collection of Teams Unified Communications related PowerShell functions as part of the UcmPSTools PowerShell Module.
MIT License
6 stars 1 forks source link

AppInstance filter in New-UcmTeamsResourceAccount is inefficent #2

Open Atreidae opened 3 years ago

Atreidae commented 3 years ago

'$AppInstance = (Get-CsOnlineApplicationInstance | Where-Object {$_.UserPrincipalName -eq $UPN})'

Currently not following the principal of filtering left, I seem to remember there was a reason I did it this way, but will need to do some more testing.