Jump to content

Recommended Posts

Posted

As per title really, i've got 3 different UPNs, one is the .local, one is a .com and one is a .net.

 

I want to remove the .com UPN completely but first i need to ensure no one is set to it and that they're set to the correct one. Doesn't appear to be an easy way of searching for this, can someone suggest an option for me?

Posted (edited)

They're UPNs i've added manually in domains and trusts.

 

but nevermind i've found something that'll do it using custom queries:

(objectCategory=person)(objectClass=user)(userPrincipalName=*@upn.suffix)

 

replacing upn.suffix with the upn you're looking for, that seems to do the job.

 

EDIT: why do i always do that, i spend ages trying to fix a problem, then think "sod it i'll ask edugeek" then within a short period of time after making the thread i'll find the solution >_<

Edited by mrbios

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...