Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/).
configurationAccount
String
The account used to configure the Windows device for taking the test. The user can be a domain account (domain\user), an AAD account (username@tenant.com) or a local account (username).
allowPrinting
Boolean
Indicates whether or not to allow the app from printing during the test.
allowScreenCapture
Boolean
Indicates whether or not to allow screen capture capability during a test.
allowTextSuggestion
Boolean
Indicates whether or not to allow text suggestions during the test.
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
var requestBody = new Windows10SecureAssessmentConfiguration
{
OdataType = "#microsoft.graph.windows10SecureAssessmentConfiguration",
Description = "Description value",
DisplayName = "Display Name value",
Version = 7,
LaunchUri = "Launch Uri value",
ConfigurationAccount = "Configuration Account value",
AllowPrinting = true,
AllowScreenCapture = true,
AllowTextSuggestion = true,
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.DeviceManagement.DeviceConfigurations["{deviceConfiguration-id}"].PatchAsync(requestBody);
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
Windows10SecureAssessmentConfiguration deviceConfiguration = new Windows10SecureAssessmentConfiguration();
deviceConfiguration.setOdataType("#microsoft.graph.windows10SecureAssessmentConfiguration");
deviceConfiguration.setDescription("Description value");
deviceConfiguration.setDisplayName("Display Name value");
deviceConfiguration.setVersion(7);
deviceConfiguration.setLaunchUri("Launch Uri value");
deviceConfiguration.setConfigurationAccount("Configuration Account value");
deviceConfiguration.setAllowPrinting(true);
deviceConfiguration.setAllowScreenCapture(true);
deviceConfiguration.setAllowTextSuggestion(true);
DeviceConfiguration result = graphClient.deviceManagement().deviceConfigurations().byDeviceConfigurationId("{deviceConfiguration-id}").patch(deviceConfiguration);
Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.