Are these currently being DirSync'd?  You can change your DirSync setting to 
only sync an empty OU or something with no user objects, force a full sync 
which will delete the users from AzureAD and then you could disable DirSync

From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On 
Behalf Of Marcum, John
Sent: Wednesday, June 8, 2016 11:11 AM
To: 'powershell@lists.myitforum.com' <powershell@lists.myitforum.com>
Subject: [powershell] How To Manipulate Azure Domains

I have 19 domains in a single Azure tenant. I want to remove all users who were 
sourced from Local Active Directory and then disable synchronization. Anyone 
have a script that would do that?

________________________________

Confidentiality Notice: This e-mail is from a law firm and may be protected by 
the attorney-client or work product privileges. If you have received this 
message in error, please notify the sender by replying to this e-mail and then 
delete it from your computer.


________________________________

CONFIDENTIALITY NOTICE: This email contains information from the sender that 
may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected 
from disclosure. This email is intended for use only by the person or entity to 
whom it is addressed. If you are not the intended recipient, any use, 
disclosure, copying, distribution, printing, or any action taken in reliance on 
the contents of this email, is strictly prohibited. If you received this email 
in error, please contact the sending party by reply email, delete the email 
from your computer system and shred any paper copies.

Note to Patients: There are a number of risks you should consider before using 
e-mail to communicate with us. See our Privacy & Security page on 
www.henryford.com for more detailed information as well as information 
concerning MyChart, our new patient portal. If you do not believe that our 
policy gives you the privacy and security protection you need, do not send 
e-mail or Internet communications to us.



Reply via email to