Detailed error message: Exception happened when doing AAD dual-write.

%3CLINGO-SUB%20id%3D%22lingo-sub-2092690%22%20slang%3D%22en-US%22%3EDetailed%20error%20message%3A%20Exception%20happened%20when%20doing%20AAD%20dual-write.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2092690%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3Etrying%20to%20delete%20and%20add%20contacts%20in%20365%2C%20got%20error%20below%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3EAn%20Azure%20Active%20Directory%20call%20was%20made%20to%20keep%20object%20in%20sync%20between%20Azure%20Active%20Directory%20and%20Exchange%20Online.%20However%2C%20it%20failed.%20Detailed%20error%20message%3A%20Exception%20happened%20when%20doing%20AAD%20dual-write.%20For%20more%20details%2C%20please%20check%20RemoteException%20if%20using%20RPS%20client%20or%20innerException%20otherwise.%20RequestId%20%3A%20e8586e36-6c20-488d-1eca%20The%20issue%20may%20be%20transient%20and%20please%20retry%20a%20couple%20of%20minutes%20later.%20If%20issue%20persists%2C%20please%20see%20exception%20members%20for%20more%20information.%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Ewe%20have%20ad%20connect%20server%20but%20only%20users%20are%20synched.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Econtacts%20are%20added%20directly%20in%20365'%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Eany%20known%26nbsp%3B%20fix%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2092690%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2092899%22%20slang%3D%22en-US%22%3ERe%3A%20Detailed%20error%20message%3A%20Exception%20happened%20when%20doing%20AAD%20dual-write.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2092899%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F61448%22%20target%3D%22_blank%22%3E%40Marvin%20Oco%3C%2FA%3E%26nbsp%3BI'm%20having%20the%20same%20issue%20when%20attempting%20to%20create%20a%20new%20group.%20I%20don't%20have%20AD%20setup%20yet.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2092922%22%20slang%3D%22en-US%22%3ERe%3A%20Detailed%20error%20message%3A%20Exception%20happened%20when%20doing%20AAD%20dual-write.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2092922%22%20slang%3D%22en-US%22%3Enot%20sure%20if%20this%20is%20global%20issue%2C%20this%20is%20working%20before.%3CBR%20%2F%3Ealready%20submitted%20ticket%20to%20microsoft%2C%20still%20waiting%20for%20solution.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2092924%22%20slang%3D%22en-US%22%3ERe%3A%20Detailed%20error%20message%3A%20Exception%20happened%20when%20doing%20AAD%20dual-write.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2092924%22%20slang%3D%22en-US%22%3EOkay%2C%20thanks.%20Please%20update%20when%20you%20hear%20from%20MS.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2093077%22%20slang%3D%22en-US%22%3ERe%3A%20Detailed%20error%20message%3A%20Exception%20happened%20when%20doing%20AAD%20dual-write.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2093077%22%20slang%3D%22en-US%22%3Etested%20also%20in%20my%20tenant%2C%20cannot%20add%20new%20distribution%20list%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2093764%22%20slang%3D%22en-US%22%3ERe%3A%20Detailed%20error%20message%3A%20Exception%20happened%20when%20doing%20AAD%20dual-write.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2093764%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F61448%22%20target%3D%22_blank%22%3E%40Marvin%20Oco%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20error%20when%20trying%20to%20convert%20user%20mailbox%20to%20shared%20mailbox%2C%20when%20edit%26nbsp%3BAliases%20in%20user%20mailbox.%3C%2FP%3E%3CP%3EAll%20work%20has%20stopped.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2093906%22%20slang%3D%22en-US%22%3ERe%3A%20Detailed%20error%20message%3A%20Exception%20happened%20when%20doing%20AAD%20dual-write.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2093906%22%20slang%3D%22en-US%22%3E%3CP%3ESame%20issues%20here%2C%20on%20with%20MS%20now.%20I%20dont%20think%20they%20are%20going%20to%20help%2C%20sounds%20like%20we%20are%20waiting%20for%20a%20fix%20on%20their%20end.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Super Contributor

trying to delete and add contacts in 365, got error below

 

An Azure Active Directory call was made to keep object in sync between Azure Active Directory and Exchange Online. However, it failed. Detailed error message: Exception happened when doing AAD dual-write. For more details, please check RemoteException if using RPS client or innerException otherwise. RequestId : e8586e36-6c20-488d-1eca The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members for more information.

 

we have ad connect server but only users are synched.

contacts are added directly in 365'

 

any known  fix?

 

 

18 Replies

@Marvin Oco I'm having the same issue when attempting to create a new group. I don't have AD setup yet. 

not sure if this is global issue, this is working before.
already submitted ticket to microsoft, still waiting for solution.
Okay, thanks. Please update when you hear from MS.
tested also in my tenant, cannot add new distribution list

@Marvin Oco 

Same error when trying to convert user mailbox to shared mailbox, when edit Aliases in user mailbox.

All work has stopped.

 

Same issues here, on with MS now. I dont think they are going to help, sounds like we are waiting for a fix on their end. 

@Vladimirkomsaras I have the same error when trying to convert a user mailbox to shared mailbox.

@Marvin Oco 

Check if your tenant is impacted by SI EX235961.

@Marvin Oco the issue apply in my tenant, when i changed the mail or named UserName, I call the support of Microsoft but the reponse was "need a evidence" and I detail the failure, I waiting a response or the solution to fix this error, Any has the same mistake?

@sububi The conversion just worked without any prior corrective actions.

@LiVe33 

Yes!   All functions work now.   

Thanks All, mine is working now too. 

Although I was able to add a new group, I'm still having trouble managing the group (add users).

disregard. might be a browser issue. closed and reopened my browser and it allowed me to manage groups again. 

this is because of recent update from MS that they have enabled dual write feature for all tenants and this will be permanent feature as of now.
https://techcommunity.microsoft.com/t5/exchange-team-blog/exchange-online-improvements-to-accelerate...

I faced various issues like not able to add alias.

Getting error: Another object with the same value for property EmailAddresses already exists.
The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members for more information.
Cmdlet-UnableToWriteToAadException]

If you look at the error details it says "UnableToWriteToAadException". When we connect to powershell of the tenant and run command:
- Ran command: Get-OrganizationConfig | fl IsDualWriteEnabled
IsDualWriteEnabled : True

A support ticket and you need to tell MS to disable the feature. Then you can remove shared mailbox.

ok now in my tenant

 

might be related to incident EX235961.

@Marvin Oco 

 

I have this issue now again :(