Skip to main content
Create a new evaluation for a prompt in a Security Copilot session. This action triggers the AI evaluation of the prompt. The following permissions are required to run this action - SecurityCopilotWorkspaces.ReadWrite.All.
External DocumentationTo learn more, visit the Microsoft Security Copilot documentation.

Parameters

ParameterDescription
Prompt IDThe ID of the prompt. Can be obtained using the List Prompts action.
Session IDThe ID of the Security Copilot session. Can be obtained using the List Sessions action.
Workspace IDThe ID of the Security Copilot workspace. Use default for the default workspace.

Example Output

{
	"@odata.context": "https://graph.microsoft.com/beta/$metadata#security/securityCopilot/workspaces('default')/sessions('ecdfb9b3-58f5-457f-a18c-4a477890b252')/prompts('ecdfb9b3-58f5-457f-a18c-4a477890b252')/evaluations/$entity",
	"id": "ecdfb9b3-58f5-457f-a18c-4a477890b252",
	"createdDateTime": "2026-03-31T12:13:18.6535601Z",
	"runStartDateTime": "0001-01-01T00:00:00Z",
	"completedDateTime": "0001-01-01T00:00:00Z",
	"lastModifiedDateTime": "2026-03-31T12:13:18.6535601Z",
	"state": "created",
	"executionCount": 0,
	"isCancelled": false,
	"result": null
}

Workflow Library Example

Create Evaluation with Microsoft Security Copilot and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop