The user cancelled the app installation. (0x80070642)

%3CLINGO-SUB%20id%3D%22lingo-sub-1799445%22%20slang%3D%22en-US%22%3EThe%20user%20cancelled%20the%20app%20installation.%20(0x80070642)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1799445%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20deploy%20Avaya%20Communicator%20X%20One%20through%20Intune%20but%20having%20difficulty.%3C%2FP%3E%3CP%3EI%20can%20manage%20to%20install%20silently%20through%20powershell%20on%20a%20local%20machine%20but%20as%20soon%20as%20its%20loaded%20to%20intune%20I%20get%20this%20error%20within%20a%20minute%20of%20installing%20on%20the%20Company%20Portal%20-%26nbsp%3B%3CSPAN%3EThe%20user%20cancelled%20the%20app%20installation.%20(0x80070642)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20am%20installing%20myself%20and%20it%20is%20not%20being%20cancelled.%20I%20have%20reinstalled%20Windows%20multiple%20times%20and%20tried%20various%20different%20fixes.%3C%2FP%3E%3CP%3EI%20have%20tried%20with%20the%20.exe%20file%20and%20also%20extracting%20the%20msi.%26nbsp%3B%3CBR%20%2F%3EThe%20log%20files%20that%20I%20have%20got%20don't%20seem%20to%20through%20anything%20up%20obvious.%3C%2FP%3E%3CP%3EAny%20ideas%20would%20be%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1799445%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1804628%22%20slang%3D%22en-US%22%3ERe%3A%20The%20user%20cancelled%20the%20app%20installation.%20(0x80070642)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1804628%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F839212%22%20target%3D%22_blank%22%3E%40scotth6%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20mentioned%20it%20works%20ok%20interactively%20using%20PowerShell%20but%20you're%20deploying%20using%20MSI%20and%20EXE%20in%20Intune.%26nbsp%3B%20How%20are%20you%20executing%20it%20in%20PowerShell%2C%20e.g.%20what%20parameters%20and%20rights%20context%3F%26nbsp%3B%20You%20could%20try%20packaging%20a%20PowerShell%20script%20to%20do%20it%20too.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1806534%22%20slang%3D%22en-US%22%3ERe%3A%20The%20user%20cancelled%20the%20app%20installation.%20(0x80070642)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1806534%22%20slang%3D%22en-US%22%3EHi%20Scot%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20would%20use%20Win32%20app%20and%20package%20MSI%20using%20IntuneAppUtility.%20Here%20is%20a%20good%20guide-%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsystemcenterdudes.com%2Fdeploy-endpoint-manager-win32-apps%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsystemcenterdudes.com%2Fdeploy-endpoint-manager-win32-apps%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMoe%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1807124%22%20slang%3D%22en-US%22%3ERe%3A%20The%20user%20cancelled%20the%20app%20installation.%20(0x80070642)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1807124%22%20slang%3D%22en-US%22%3EHi%20Moe%2C%3CBR%20%2F%3EYes%20tried%20that%20unfortunately.%20Tried%20packaging%20with%20the%20MSI%20and%20EXE%20through%20the%20apputility.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I am trying to deploy Avaya Communicator X One through Intune but having difficulty.

I can manage to install silently through powershell on a local machine but as soon as its loaded to intune I get this error within a minute of installing on the Company Portal - The user cancelled the app installation. (0x80070642)

I am installing myself and it is not being cancelled. I have reinstalled Windows multiple times and tried various different fixes.

I have tried with the .exe file and also extracting the msi. 
The log files that I have got don't seem to through anything up obvious.

Any ideas would be appreciated.

9 Replies
Highlighted

Hi @scotth6 

 

You mentioned it works ok interactively using PowerShell but you're deploying using MSI and EXE in Intune.  How are you executing it in PowerShell, e.g. what parameters and rights context?  You could try packaging a PowerShell script to do it too.

Highlighted
Hi Scot,

I would use Win32 app and package MSI using IntuneAppUtility. Here is a good guide-

https://systemcenterdudes.com/deploy-endpoint-manager-win32-apps/

Moe
Highlighted
Hi Moe,
Yes tried that unfortunately. Tried packaging with the MSI and EXE through the apputility.

Thanks
Highlighted
Thanks Ru,
I am just copying and pasting the PowerShell command which I did for another app and it worked.
"Avaya.exe" /silent is the Install Command which I input into Intune. Running this from PowerShell seems to do it.
Highlighted
Have you checked in the application install logs if you see something (this is different for each application)?

User cancelled the app install often happens when the app (or a dependency for it) is currently running)
Highlighted
These logs? C:\ProgramData\Microsoft\IntuneManagementExtension\Logs
I've had a look but not really sure what im looking for, there is nothing which is jumping out at me
Highlighted
No, the logs specific to the application. This differs from application to application.
Could be in C:\windows\temp or Appdata
Highlighted
Thanks. Can't see too much in there either. The log files I found are to do with Office telemetry or something.
Highlighted
It's something you would have to check with Avaya how to send logs, as this questions is really application specific