sync error 0x80190190

%3CLINGO-SUB%20id%3D%22lingo-sub-2111784%22%20slang%3D%22en-US%22%3Esync%20error%200x80190190%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2111784%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20getting%20this%20sync%20error%26nbsp%3B0x80190190%20from%20time%20to%20time%20on%20some%20devices%20which%20they%20are%20domain%20joined.%20it%20register%20%3CSTRONG%3Eevent%20ID%3C%2FSTRONG%3E%20%3CSTRONG%3E201%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3EMDM%20Session%3A%26nbsp%3BOMA-DM%20message%20failed%26nbsp%3Bto%20be%26nbsp%3Bsent.%20Result%3A%20(Bad%20request%20(400).)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EI%20tried%20different%20methods%20to%20solve%20it%20but%20the%20problem%20remains.%3C%2FP%3E%3CP%3ECould%20you%20please%20help%20me%20with%20this%20issue%3F%3C%2FP%3E%3CP%3Ethank%20you%20in%20advance!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2111784%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2122286%22%20slang%3D%22en-US%22%3ERe%3A%20sync%20error%200x80190190%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2122286%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F952647%22%20target%3D%22_blank%22%3E%40hellman1323%3C%2FA%3E%26nbsp%3BI%20have%20come%20across%20this%20in%20customer%20environments%20and%20you%20will%20see%20this%20solution%20elsewhere%20on%20the%20internet%20as%20well.%20Try%20this%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3COL%20type%3D%221%22%3E%0A%3CLI%20lang%3D%22en-US%22%20value%3D%221%22%3E%3CSPAN%3EOpen%26nbsp%3B%3CSTRONG%3EScheduled%20Tasks%3C%2FSTRONG%3E%26nbsp%3Bon%20the%20machine%20with%20the%20sync%20issue%3C%2FSPAN%3E%3COL%20type%3D%22a%22%3E%0A%3CLI%20lang%3D%22en-US%22%20value%3D%221%22%3E%3CSPAN%3EBrowse%20to%20%22Microsoft%20-%26gt%3B%20Windows%20-%26gt%3B%20EnterpriseMgmt%22%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20lang%3D%22en-US%22%3E%3CSPAN%3EFind%20the%20ID%20with%20the%20enrollment%20scheduled%20tasks%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20lang%3D%22en-US%22%3E%3CSPAN%3EDelete%20all%20the%20scheduled%20tasks%20here%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%20lang%3D%22en-US%22%3E%3CSPAN%3EOpen%20the%26nbsp%3B%3CSTRONG%3ERegedit%3C%2FSTRONG%3E%3C%2FSPAN%3E%3COL%20type%3D%22a%22%3E%0A%3CLI%20lang%3D%22en-US%22%20value%3D%221%22%3E%3CSPAN%3EBrowse%20to%20HKLM%20-%26gt%3B%20Microsoft%20-%26gt%3B%20Enrollments%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20lang%3D%22en-US%22%3E%3CSPAN%3EFind%20the%20ID%20from%201b)%20and%20make%20sure%20the%20UPN%20REG_SZ%20value%20under%20it%20is%20whateveruser%40tenant.onmicrosoft.com%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20lang%3D%22en-US%22%3E%3CSPAN%3EDelete%20the%20whole%20ID%20key%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%20lang%3D%22en-US%22%3E%3CSPAN%3ERun%26nbsp%3B%3CSTRONG%3Egpupdate%20%2Fforce%20target%3Acomputer%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20lang%3D%22en-US%22%3E%3CSPAN%3EDouble%20check%20the%20device%20in%20the%20Intune%20portal%20and%20see%20if%20the%20enrollment%20was%26nbsp%3B%3C%2FSPAN%3Esuccessful%3C%2FLI%3E%0A%3CLI%20lang%3D%22en-US%22%3E%3CSPAN%3ERun%20another%20Intune%20Sync%20and%20see%20if%20it%20is%20now%20working%20(Access%20Work%20on%20School%20-%26gt%3B%20Info%20-%26gt%3B%20Sync)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2120982%22%20slang%3D%22en-US%22%3ERe%3A%20sync%20error%200x80190190%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120982%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F952647%22%20target%3D%22_blank%22%3E%40hellman1323%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20what%20is%20your%20objective%2C%20is%20it%20Intune%20%2B%20hybrid%20Join%20or%20Intune%20%2B%20AADJ%3F%3C%2FP%3E%3CP%3E2)%20When%20and%20where%20are%20you%20seeing%20the%20error%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi everyone,

 

I'm getting this sync error 0x80190190 from time to time on some devices which they are domain joined. it register event ID 201:

MDM Session: OMA-DM message failed to be sent. Result: (Bad request (400).)

I tried different methods to solve it but the problem remains.

Could you please help me with this issue?

thank you in advance!!!

3 Replies

@hellman1323 

1) what is your objective, is it Intune + hybrid Join or Intune + AADJ?

2) When and where are you seeing the error?

@hellman1323 I have come across this in customer environments and you will see this solution elsewhere on the internet as well. Try this:

  1. Open Scheduled Tasks on the machine with the sync issue
    1. Browse to "Microsoft -> Windows -> EnterpriseMgmt"
    2. Find the ID with the enrollment scheduled tasks
    3. Delete all the scheduled tasks here
  2. Open the Regedit
    1. Browse to HKLM -> Microsoft -> Enrollments
    2. Find the ID from 1b) and make sure the UPN REG_SZ value under it is whateveruser@tenant.onmicrosoft.com
    3. Delete the whole ID key
  3. Run gpupdate /force target:computer
  4. Double check the device in the Intune portal and see if the enrollment was successful
  5. Run another Intune Sync and see if it is now working (Access Work on School -> Info -> Sync)

@David Maiolo 

 

We have the same problem but once we remove the regkey the info (sync) button is gone and we can no longer manually sync. If i restore the regkey the sync button is back. Is this normal?