-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Apps, Services & Software
- Poly Services
- Powershell error on adding user account RealConnect

Create an account on the HP Community to personalize your profile and ask a question

05-20-2021 09:14 AM
Hi all
We purchased a Poly RC for MSFT license and on gone through all settings up until adding users for the RealConnect licence in powershell upon we get an error returned:
One or more errors occurred.
+ CategoryInfo : NotSpecified: (CN=84dd5110-938...gb1001,DC=local:OCSADUserOrAppContact) [Grant-CsTeamsVideoInteropServicePolicy], AggregateException
+ FullyQualifiedErrorId : GrantPolicy,Microsoft.Rtc.Management.Xds.GrantTeamsVideoInteropServicePolicyCmdlet
+ PSComputerName : api.interfaces.records.teams.microsoft.com
Solved! Go to Solution.
Accepted Solutions

06-07-2021 04:05 AM
Hi,
To update on this, my team followed the below advise and this seems to have worked for us - we have been added as license users and are getting the option to join via a Polycom Codec in Teams meetings invites.
Hello,
Microsoft has retired the PowerShell module for Skype for Business Online and all Teams related commands are now available in the Teams PS module (the minimum version should be at least 2.1).
Version check can be done using this command:
Get-Module
Please uninstall the Skype for Business PS Module from the workstations (add/remove programs).
Then install Teams PS module:
Install-module Microsoft Teams
After this please load the Teams module into the memory:
Import-Module MicrosoftTeams
Details are shown in the sample screenshots attached.
NOTE:
after Teams module installation you need to sign in into Azure AD with global admin credentials for the O365 tenant.
https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install
05-20-2021 09:39 AM
I did this a few years ago successfully. The first thing that comes to my mind - did you link Poly RealConnect to your Microsoft Environment as a global admin?
Here's how I connected to PowerShell when I did this:
PS C:\WINDOWS\system32> $UserCredential = Get-Credential
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
PS C:\WINDOWS\system32> Import-Module SkypeOnlineConnector
PS C:\WINDOWS\system32> $sfbSession = New-CsOnlineSession -Credential $userCredential
PS C:\WINDOWS\system32> Import-PSSession $sfbSession
PS C:\WINDOWS\system32> Grant-CsTeamsVideoInteropServicePolicy -PolicyName PolycomServiceProviderEnabled -Identity "user@company.com"
PS C:\WINDOWS\system32> Get-CsVideoInteropServiceProvider
Identity : Polycom
Name : Polycom
AadApplicationIds : 1234asdfg
TenantKey : 123456789@t.plcm.vc
InstructionUri : https://dialin.plcm.vc/teams/?key=123456789&conf={ConfId}
AllowAppGuestJoinsAsAuthenticated : True

05-28-2021 01:03 AM
I think I'll need to raise a support ticket on this and if not fixed get refunded, maybe the powershell side of things has moved on but the Realconnect side of things has not and there's some incompatibility somewhere.
06-01-2021 04:11 AM
FYI the PowerShell configuration options are for Microsoft's Cloud Video Interop and has nothing to do with RealConnect specifically (or any other partner's interop offering). The cmdlets are not associated to any 'licensing' as you are simply enabling a CVI provider and then enabling users via policies in Teams.
If you are getting any unresolvable errors running the PowerShell commands make sure that you are (a) using a workstation that has never had the Skype for Business Online module installed on it (b) have installed the latest Microsoft Teams PowerShell module and (c) are signing in with a user account that has sufficient administrative permissions like a Global Admin or Teams Admin.
06-01-2021 04:17 AM
Adam, those are outdated steps now that the SfB Online Module has been replaced with the Teams module. I've already updated the instructions provided by Poly to include the newer, simpler steps:
https://dialin.plcm.vc/teams/ps.html

06-07-2021 04:05 AM
Hi,
To update on this, my team followed the below advise and this seems to have worked for us - we have been added as license users and are getting the option to join via a Polycom Codec in Teams meetings invites.
Hello,
Microsoft has retired the PowerShell module for Skype for Business Online and all Teams related commands are now available in the Teams PS module (the minimum version should be at least 2.1).
Version check can be done using this command:
Get-Module
Please uninstall the Skype for Business PS Module from the workstations (add/remove programs).
Then install Teams PS module:
Install-module Microsoft Teams
After this please load the Teams module into the memory:
Import-Module MicrosoftTeams
Details are shown in the sample screenshots attached.
NOTE:
after Teams module installation you need to sign in into Azure AD with global admin credentials for the O365 tenant.
https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install