English 中文(简体)
Set-CsUser: Can not Update OnPremLineURI, as theuser has dirsynced onpremise LineURI
原标题:Set-CsUser: Can not update OnPremLineURI as the user has dirsynced onpremise LineURI

有时,我们正在发现这种奇怪的错误,为微型贷款小组中直接行道的用户更新“OnPremLineURI”:

<>Command

>Set-CsUser -Identity "[email protected]" -OnPremLineURI tel:+15149401111 -EnterpriseVoiceEnabled $true

<>Response:

>Set-CsUser:  Can not update OnPremLineURI as the user has dirsynced onpremise LineURI.

Many googles of this issue points to the fact that Teams is blocking us from setting the OnPremLineURI because it incorrectly thinks it is being set from the on prem AD, but it is not. In fact, there is not even an attribute to set this on prem given there is no Skype for Business setup in our environment and there never was.

我们能够通过寻找有<<><<><><>>>OnPremLineUR/code>的账户来查明腐败账户。

Get-CsOnlineUser -Filter {OnPremLineURIManuallySet -eq $False -and EnterpriseVoiceEnabled -eq $true}  |  Format-Table UserPrincipalName, LineURI, OnPremLineURI, VoicePolicy, OnPremLineURIManuallySet, EnterpriseVoiceEnabled

UserPrincipalName             LineURI          OnPremLineURI    VoicePolicy OnPremLineURIManuallySet EnterpriseVoiceEnabled
-----------------             -------          -------------    ----------- ------------------------ ----------------------
[email protected] tel:+15149401111 tel:+15149401111 HybridVoice                    False                   True

至今为止,我们确定的唯一工作是完全完成delete 账户并重开账户。 是否有其他人碰到这一问题,或者说是问题的原因,还是可能更好的解决?

问题回答

I m guessing the issue is you didn t remove the attributes when you removed Skype for business. See article, Looking at this document, route 1 leaves the sip addresses in place, this means users that have an existing phone number need to be set from on premise, those who are new users would be set from the cloud. Therefore if you had skype for business in the past option 2 (removing all on prem attributes would be recommended)





相关问题
Using JavaScript to get an LDAP multi-valued string attribute

I am trying to retrieve an object attribute in Active Directory that appears to be a multi-valued string (See canonicalName). After performing a search: var conn; conn.Open = Provider=ADsDSOObject; ...

Test "User Must Change Password" field in .Net 3.5

I m trying to perform some basic AD User managment tasks in C# using .Net 3.5 I ve got a System.DirectoryServices.AccountManagement.UserPrincipal object that contains the user details. I can call ...

SSIS Script Task connecting to AD

I have written a SSIS 2005 script task that connects to Active Directory and reads user accountnames to store in database. I was able to successfully test this on my local system by executing dtexec....

Update Full Name in Active Directory

I ve been thrust into the deep end with Active Directory (I m a web developer, go fig) I have a user that I ve changed first/last name on but the Full Name hasn t changed which is causing issues with ...

Authenticate against Active Directory/ISA from php [closed]

I have a complicated problem, exacerbated by the fact I don t really know where to start! Over the last few years, I ve developed a number of php web-based systems. When I built them, our network was ...