We are adding another region to our business.
There are existing locations already setup in Powershell of which does:-
So for example if we have a bunch of users in London - there is an AllLondonUsers distribution list, which means if a User is added into AD with a London location, they auto add to this AllLondonUsers DL.
Our setup is on prem DC to Office 365 cloud.
How do I set this up through Powershell as a one timer, so new users added to this region are added automatically?
Also the new location is within the US - so the country/ Office attributes need added.
So say it is US in New Jersey as the Office attrib in AD