Powershell api.interfaces.records.teams.microsoft.com
Hey guys,
since the middle of this week, I've started to face issues with the Powershell when running Grant-Cs commands.
Commands which I currently run are following:
Grant-CsTenantDialPlan -Identity "*" -PolicyName "*"
Grant-CsVoiceRoutingPolicy -PolicyName InternationalCallsAllowed -Identity "*"
Grant-CsOnlineVoiceRoutingPolicy -PolicyName '*' -Identity "*"
Currently, the error message is following:
+ CategoryInfo : NotSpecified: (CN=6681e43b-143...c0e001,DC=local:OCSADUserOrAppContact) [Grant-CsTenantDialPlan], AggregateException
+ FullyQualifiedErrorId : GrantPolicy,Microsoft.Rtc.Management.AD.Cmdlets.AssignOcsTenantDialPlanCmdlet
+ PSComputerName : api.interfaces.records.teams.microsoft.com
One or more errors occurred.
+ CategoryInfo : NotSpecified: (CN=6681e43b-143...c0e001,DC=local:OCSADUserOrAppContact) [Grant-CsVoiceRoutingPolicy], AggregateException
+ FullyQualifiedErrorId : GrantPolicy,Microsoft.Rtc.Management.Xds.GrantVoicRoutingPolicyCmdlet
+ PSComputerName : api.interfaces.records.teams.microsoft.com
The way how I'm connecting to MSteams module is following(MFA):
Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRM\Client -Name AllowBasic -Value 1
Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRM\Client -Name AllowDigest -Value 1
Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRM\Client -Name AllowUnencryptedTraffic -Value 1
Import-Module MicrosoftTeams
Connect-MicrosoftTeams
Do you guys know where the problem might be? I have the newest module installed.
Thanks in advance.