Microsoft

Using Intune to deploy the new Microsoft Quick Assist

To follow up on my previous post we now know Microsoft is moving the Quick Assist app to the Microsoft Store. My first thought was no problem I will just go into the Windows Store for Business and make the app available so I can deploy it via intune. However, that was not the case. Once I assigned it to a device I noticed I was prompted with a UAT prompt just like I was when I manually went to the Microsoft Store to download it. That is when I initially said I will need to build a custom script using the offline package. The good thing about this is I could do the cleanup of the old version at the same time.

The goods

I have put together a ZIP containing the script’s and .intunewin files. If you do not want to use my pre-wrapped file then feel free to create your own using the script. Click here to download the ZIP

Note: The logs for this script save to “C:\ProgramData\Microsoft\IntuneManagementExtension” If you would like to modify this then open “Quick-Assist-Package.ps1” and look at the following lines.

#Log output results
function LogOutput($Message) {
    $LogFile = "C:\ProgramData\Microsoft\IntuneManagementExtension\Quick-Assist.log"
    "$(get-date -Format 'MM/dd/yyyy HH:mm') $($Message)" | Out-file -FilePath $LogFile -Append -Force
}

Creating the Intune app

I’m going to assume you know how to create an Intune app so I’m going to skip to the important tabs “Program” and “Detection Rules” since we are using a Powershell script.

Program

We will need to put in a specific command for the install and uninstall command fields since we are using a PowerShell Script.

Install command – This will be used to trigger the install portion of the script

powershell -executionpolicy bypass -file Quick-Assist-Package.ps1 -install

uninstall command – this will be used to trigger the uninstall portion of the script. This means if you ever wanted to uninstall it in the future you could using intune.

powershell -executionpolicy bypass -file Quick-Assist-Package.ps1 -uninstall

Detection Rules

For detection rules we are going to use a PowerShell script I created. You can find it in the ZIP above called “QuickAssistDetection.ps1“. Below is a quick look at the detection script.

Try {
$AppXStatus = Get-AppxPackage -allusers MicrosoftCorporationII.QuickAssist -ErrorAction Stop
    If ($AppXStatus.status -eq 'OK'){
            Write-Host "Quick Assist is installed"
            Exit 0
        } else {
            Write-Warning "Quick Assist not installed"
            Exit -1
    }
    } Catch [exception]{
        Write-Error "[Error] $($_.Exception.Message)"
}

The script simply uses Get-AppxPackage to validate that the Windows Store version of Quick assist is now installed. Below is a screenshot of what the detection rules page should look like.

Conclusion

You should now have the app in Intune and you are now ready to deploy it.

– DroidKid

Standard

26 thoughts on “Using Intune to deploy the new Microsoft Quick Assist

  1. Pingback: PowerShell Script to install the new Quick Assist silently. | DroidKid

  2. Pingback: Endpoint Manager Newsletter – 20th May 2022 – Andrew Taylor

    • KEVINH says:

      Its right at the beginning of the article. The second sections describes “The Goods”

      “I have put together a ZIP containing the script’s and .intunewin files. If you do not want to use my pre-wrapped file then feel free to create your own using the script. Click here to download the ZIP”

  3. James says:

    For Requirements do we put in Script Quick-Assist-Package.ps1 then ‘Integer’, value equals 0?

    New to this.

    Thanks for posting this solution.

  4. Steven Siu says:

    Hello, I assume you are taking the appxbundle and the script file and packaging it into an intunewin file?

  5. Laci says:

    Hi Droidkid,

    Thank you very much for these scripts. I modified your scripts with DISM Powershell commands and i able to deploy the new QuickAssist app without Intune via Group Policy startup script.
    Can i publish the modified script on my github? Of course with source.

    Bs,
    Laci

  6. Abe says:

    Hi DroidKid!

    This was really well done and I appreciate the work you put into it! We have a large amount of endpoints so it was fantastic to find this. I was about halfway through my own script when I came across this. I have two things that seem to occur and I’m curious on how you have resolved it.

    Intune is detecting that Quick Assist is successfully deployed on some machines but I’ve seen first hand that sometimes the new version isn’t on the machine and that the old one is still present. Resyncing the device doesn’t change the report. So far it’s happened to about a dozen users and I can’t find commonality. Have you seen this?

    The Quick Assist Icon – Have you found a way to deploy the Desktop icon or update the abandoned icon left behind after the uninstall?

    Thanks again!

  7. Ben says:

    Hi Droidkit.
    This has been a life saver for our business. We ban the MS Store for company policy so its has been good to get this out.

    Have pushed to over 300 devices successfully so far, but we have about a 10% failure rate currently. We are getting the message

    The application was not detected after installation completed successfully (0x87D1041C)

    Cant understand how it has worked for 90% of the fleet. But not the last 10%.

    Would you have any potential insight?

Leave a Reply to Rafael Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s