Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 780 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

(Solved) Office 365 : Uniqueness constraint violation

This week I had a migration from local to Office 365.
This tenant was earlier used for testing purposes, all users are synced with AADConnect to the tenant. When I tried to add a license to this user, I received an error, I’ve never seen before; “Uniqueness constraint violation”.

 

Error while adding license to a User:

Error : Uniqueness constraint violation

This is the error : Uniqueness constraint violation

 

Solution:

Solution

Go to the Exchange admin Center, and remove the present contact with the same email address, and try to add the license again.

There is also a posibility the contact is also sync, so check this also in your local AD.

The licenses can be added now.

2 comments to (Solved) Office 365 : Uniqueness constraint violation

  • Kamal

    Thanks for the solution. I found a duplicate entry in the contacts. After I deleted the same, I was able to assign license to the mailbox… cheers

  • Mark Menace

    when I try to delete it says the following error occurred during validation in agent “Windows Liveid Agent”; Unable to perform the save operation ‘user’ is not within a valid server write scope.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.