Let's say an employee was assigned to work in a particular district/city/country etc. Can we say that person was assigned "to" or "in" there? In the Oxford Dictionary, the definition of the usage I want to use is "to send a person to work under the authority of somebody or in a particular group". But my question is not about working in a group but working in a place like a city, country etc. where my workplace/army base etc. is. Let's say I am a public school teacher and I was sent to work at a school in a city or country called "XYZ", or maybe a neighborhood called "XYZ". Can I say either of these two sentences interchangeably?
I was assigned in XYZ.
I was assigned to XYZ.
Some other example sentences: *"I was assigned in/to Los Angeles", "I was assigned in/to Nigeria", "I was assigned in/to the Valley Neighborhood"
Are these okay with either "to" or "in", or do I have to specify the workplace instead of specifying where the work place is when I use "assign"?