Lync Server 2010 Move legacy users troubleshooting

 

Symptoms

When you want to edit, update or change Pool of a legacy user you can receive these possible errors:

1. Moving a legacy user to a new Lync 2010 pool using Lync Server 2010 using Lync Control panel window:

Click on User, Action, Move selected users to pool, from Move Users window, choose your new Pool from Destination Registrar Pool, check Force and click Ok.

Error: Cannot modify a legacy user using cmdlet.

2. Move a legacy user using PowerShell:

Move-CsLegacyUser -Identity "<user>" -Target "<FQDNPool>"

Error:

Move-CsLegacyUser : Object reference not set to an instance of an object.
At line:1 char:18
+ Move-CsLegacyUser <<<<  -Identity "<user>" -Target "<FQDNPool>"
+ CategoryInfo: NotSpecified: (:) [Move-CsLegacyUser], NullReferenceException
+ FullyQualifiedErrorId: System.NullReferenceException,Microsoft.Rtc.Management.AD.Cmdlets.MoveOcsLegacyUserCmdlet

 

3. Enable a legacy user using PowerShell:

Enable-CsUser -Identity "<user>" -RegistrarPool "<FQDNPool>" -SipAddress "sip: <sipaddress>"

Error:

Enable-CsUser : Cannot move legacy user in enable operation. Use the Move user cmdlet instead.
At line:1 char:14
+ Enable-CsUser <<<<  -Identity "<user>" -RegistrarPool "<FQDNPool>" -SipAddress "sip: <sipaddress>"
    + CategoryInfo: InvalidOperation: (:) [Enable-CsUser], InvalidOperationException
    + FullyQualifiedErrorId : ProcessRecord,Microsoft.Rtc.Management.AD.Cmdlets.EnableOcsUserCmdlet

 

 

Cause

A common cause is about Lync test environments, that required to start from scratch for one reason or another. The problem resides in active directory which is still detecting their old topology and causing issues with moving forward with the new environment. This post will cover what is required to remove references to the Lync or OCS deployment from Active Directory.

One very important thing to note here, once you extend your AD Schema, unless you revert from a backup, you will not be able to back out those changes.

In Office Communications Server 2007 R2, majority of configuration data was stored in Active Directory, however Lync Server 2010 stores most of the configuration data in the Central Management Store, which is a SQL database that lives on your servers in the topology. Full details in this article: Lync Server 2010 Active Directory References, and how to Remove Them.

Resolution

To solve this situation you need to manually clean up Active Directory OCS properties of legacy users.

1. Identify Legacy users: from Lync Server 2010 Control Panel, go to Users, Add Filter, choose Legacy user equal to True and then press Find.

2. Note SIP address for a desired user to migrate into the new deployment or Display Name of user.

3. On domain controller or another server from your domain, open ADSI Edit to edit Active Directory schema. Start, Run, Adsiedit.msc.

4. From ADSI Edit, Action menu, choose option Connect To

5. From Connection Settings window select Default naming context and press Ok.

image

6. You must find the user in this context, navigating into your LDAP structure. You must know in which OU is user located. You do not have any find options here.

7. Identify the canonical name of user: CN=<Display Name>, click on name, Action, Properties.

8. You can filter only attributes that have values: Filter, Show only attributes that have values

image

9. Identify the msRTC* attributes. Click on it and then click Edit.

10. In  Attribute Editor window, click Not set (for bolean attributes) and then Ok. If the attribute is integer or string click Clear and Ok.

11. Close Properties window and then verify in Lync Server 2010 Control Panel if the user is still legacy.

12. Enable user from Lync Server Management shell:

Enable-CsUser –Identity domain\account.name –RegistrarPool <yourFQDNPool> -SipAddress sip:account.name@yourFQDNDomain

 

More Information

You can found another possible solution here:

Lync 2010 Server Move-CsLegacyUser fails when legacy user policies have been deleted before the user migration: http://support.microsoft.com/kb/2441886

Problemă de Excel – Wildcard-uri

 

Acest articol are ca bază de pornire articolul: How to find and replace tildes and wildcard characters in Excel:  http://support.microsoft.com/kb/214138.

Într-o listă din Excel am avut surpriza să întâlnesc în mai multe celule din cele peste 7k de linii caracterul * (asterix). Cred că și începătorii știu că acesta este un wilcard. Wildcard-urile le folosim pentru căutări complexe, înlocuiri și așa mai departe.

Problema era că eu trebuia să înlocuiesc acele caractere cu nimic. Adică să le elimin din toate celulele.

Un simplu Ctrl+H, * la Find what, nimic la Replace with și Replace All mi-a oferit surpriza să mă lase fără nimic în tabel.

image

Ctrl+Z (de fapt Y pentru RoKeyb addicted) și analiză.

Wildcard-urile clasice din Excel sunt * (asterix) pentru orice caracter din celulă și ? (semnul întrebării) pentru un singur caracter.

Așadar, că articolul referit mai sus m-a ajutat să-mi dau seama că pentru a specifica faptul că un caracter de tip * sau ? ca să poată fi tratat ca atare trebuie prefixat cu caracterul ~ (tilda).

Dacă doriți să înlocuiți caracterul ~ (tilda) trebuie să utilizați expresia: ~~

În Word există mult mai multe wildcard-uri dar… mare parte inaplicabile în Excel.

Succes!

2010 my blog review

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads Wow.

Crunchy numbers

Featured image

About 3 million people visit the Taj Mahal every year. This blog was viewed about 44,000 times in 2010. If it were the Taj Mahal, it would take about 5 days for that many people to see it.

In 2010, there were 65 new posts, growing the total archive of this blog to 93 posts. There were 181 pictures uploaded, taking up a total of 19mb. That’s about 3 pictures per week.

The busiest day of the year was October 13th with 751 views. The most popular post that day was Fluturaş de bugetar.

Where did they come from?

The top referring sites in 2010 were facebook.com, portal.feaa.uaic.ro, itboard.ro, google.ro, and networkedblogs.com.

Some visitors came searching, mostly for valy greavu, valy greavu blog, norme psi in vigoare, norme specifice de securitate a muncii pentru prelucrarea automata a datelor, and valy greavu wordpress.

Attractions in 2010

These are the posts and pages that got the most views in 2010.

1

Fluturaş de bugetar October 2010
31 comments

2

Ordin 310/1996 (M.M.P.S.) – privind aprobarea Normelor specifice de securitate a muncii pentru prelucrarea automata a datelor March 2009
6 comments

3

ISO27001: Sistemul de management al securităţii informaţionale (SMSI) February 2010
8 comments and 2 Likes on WordPress.com

4

Jocurile au reguli si principii December 2010
80 comments

5

Examen de securitate June 2010
42 comments and 1 Like on WordPress.com,

Blog la WordPress.com.

SUS ↑