I have created one host pool in that 5 vm's are there in one of the vm i have configure azure screen protection after that i am unable to take session host of that vm
I have created one host pool in that 5 vm's are there in one of the vm i have configure azure screen protection after that i am unable to take session host of that vm
Hello @Arthij-1846,
Thank you for reaching out to the Microsoft Q&A platform. Looking at the error message it appears that the Screen Capture Protection feature is not enabled properly
Error : The Windows Virtual Desktop client needs the Screen Capture Protection feature to access this resource.
Did you follow the below instructions to enable this feature? If not, try configuring it properly.
To configure screen capture protection, you need to install administrative templates that add rules and settings for Azure Virtual Desktop.
Download the Azure Virtual Desktop policy templates file (AVDGPTemplate.cab) and extract the contents of the cab file and zip archive.
Copy the terminalserver-avd.admx file to %windir%\PolicyDefinitions folder.
Copy the en-us\terminalserver-avd.adml file to %windir%\PolicyDefinitions\en-us folder.
To confirm the files copied correctly, open the Group Policy Editor and navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Azure Virtual Desktop
You should see one or more Azure Virtual Desktop policies, as shown below.

You can also install administrative templates to the group policy Central Store in your Active Directory domain. For more information about Central Store for Group Policy Administrative Templates, see How to create and manage the Central Store for Group Policy Administrative Templates in Windows.
Open the "Enable screen capture protection" policy and set it to "Enabled".
Reference : https://docs.microsoft.com/en-us/azure/virtual-desktop/screen-capture-protection
Hope this helps!
I did the same in one of the vm in the session host
In which we need to enable this feature
Hello @Arthij-1846,
Screen Capture Protection only works with the Windows client (MSRDC), so accessing it from another client is prevented. Are you trying to connect from a windows client or browser?
Prerequisites
The screen capture protection feature is configured on the session host level and enforced on the client*. Only clients that support this feature can connect to the remote session. Following clients currently support screen capture protection:*
Windows Desktop client supports screen capture protection for full desktops only.
macOS client version 10.7.0 or later supports screen capture protection for both RemoteApp and full desktops.
Suppose the user attempts to use an unsupported client to connect to the protected session host. In that case, the connection will fail with error 0x1151.
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/screen-capture-protection#prerequisites
I have enabled in windows vm and after that i am facing error like above screen shot.
i used rdpweb to use that AVD
7 people are following this question.