Link to home
Start Free TrialLog in
Avatar of defrey
defreyFlag for Australia

asked on

Office 365 - Sorry, it looks like that email address is already in use. Use another one.

I am trying to create a new user with a new email address but get the error "Sorry, it looks like that email address is already in use. Use another one."

The email address has been created previously by mistake & then deleted.

I am sure that the email address hasn't been assign to another user, they are only 2 & I have checked the aliases.

How if by any chance the email address I need to create in the system can be removed entirely to make sure I can create a fresh one.

Thanks

Regards
Avatar of ReneD100
ReneD100
Flag of Netherlands image

I've noticed It takes a while before the address gets released again by the system. After a few hours I could re-create the same address again/
Avatar of Alan Hardisty
You can use the following command in PowerShell to find and identify an account that is using the address you want to create:

Get-Recipient | where {$_.EmailAddresses -match "emailaddress@"} | ft Name, RecipientType, EmailAddresses

Then you can modify the account / distribution group or whatever is using the address and go on to create the account you want to create.

Alan
@Alan: Powershell on 365?
Yes, it's possible ReneD100. See here for more information: http://technet.microsoft.com/en-us/library/dn568015.aspx
Absolutely.  Use it all the time.
Cool, didnt know that would work. Thanks for the link!
Avatar of defrey

ASKER

@ Alan

Command is not working for me
"Get-Recipient | where {$_.fred@sitename.com -match "fred@sitename.com"} | ft Name, RecipientType, EmailAddresses"

Please screen shot of error attached


Thanks
Capture.png
You have modified a bit too much of the script.  Try the following:

Get-Recipient | where {$_.EmailAddresses -match "fred@sitename.com"} | ft Name, RecipientType, EmailAddresses

Alan
Avatar of defrey

ASKER

Still no success, but get a different error now

"The Term "Get recipient" is not recognised as the name of a cmdlet, function, script file ..........

Thanks
There is a Minus symbol between Get and Recipient - the error seems to suggest you aren't adding it.

Please copy / paste the command or type it out carefully / accurately.

Alan
Avatar of defrey

ASKER

Hi Alan,

The exact steps that I am doing are:

1) Open powershell as administrator

2) $Cred = Get-credential
I enter the admin user & password

3) Copy & paste
Get-Recipient | where {$_.EmailAddresses -match "fred@sitename.com"} | ft Name, RecipientType, EmailAddresses

Thats it

Then the error
""The Term "Get recipient" is not recognised as the name of a cmdlet, function, script file .'

not sure what I am missing?
ASKER CERTIFIED SOLUTION
Avatar of Alan Hardisty
Alan Hardisty
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial