I have configured User Profile Service and it worked fine and imported all the user profiles.
Then I changed work phone and office fields to be exported to Active directory. These fields had data in Active directory as well as in SharePoint. I then ran full synchronization and after it was complete, phone and office fields in active directory were empty for all users.
I have tried many things, in Forefront Service Manager, it shows that it writes back these two fields but they don't appear in Active Directory.
To be precise I have mapped "work phone" to "telephonenumber" and "office" to "physicaldeliveryofficename".
Any help would be appreciated.