In the week of October 16 2017, Microsoft released the support for TeamViewer for Windows in the Azure Intune portal. Previously TeamViewer in the Azure Intune portal only supported Android devices. This is very simple to set up, and you can do it with a trial from TeamViewer. To see what else is new in Intune, see https://docs.microsoft.com/en-us/intune/whats-new
In the Azure Portal (https://portal.azure.com) go to Microsoft Intune > Devices > TeamViewer Connector
Click on Connect
Read through terms and conditions and click on OK if you agree.
The status will now be Connecting.
You will get a popup to accept the permissions.
Another message will be displayed that TeamViewer and Intune have been connected.
You can see that the Connection status is now Active.
On your Windows 10 machine, select the Device, then click the More button, and you will now see New Remote Assistance Session.
Click Yes.
In the top right of the screen you will see a message about initiating the new remote assistance session.
Now you will see a screen saying that the session has been initiated. Under Remote Assistance, click on Start Remote Assistance.
A new tab will open in your browser, and TeamViewer will begin to download.
Run the download and you will be presented with the TeamViewer details and a screen waiting for the Intune enrolled machine to connect.
Now on the Windows 10 enrolled machine:
Make sure you have the latest version of the Company Portal on your Windows 10 machine. Open the Company Portal, and you will now see a notification flag. Click it and you will see Your IT administrator is requesting control of this device for a remote assistance session.
TeamViewer will now open up in a browser. Run the download
Select Allow
You are now connected to the Windows 10 MDM enrolled machine.