---
title: "Codeunit 2000000031 Personal Agent Metadata"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/2000000031-personal-agent-metadata/
type: codeunit
id: 2000000031
name: "Personal Agent Metadata"
app: "System"
namespace: System.Agents
versions: "29"
build: 29.0.55597.0
countries: "W1"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 2000000031 Personal Agent Metadata

JOP-AL, https://jonas-paprotka.de/ref/codeunit/2000000031-personal-agent-metadata/

| | |
| --- | --- |
| App | System |
| Namespace | System.Agents |
| Versions | 29 |
| Minors | W1 29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/2000000031-personal-agent-metadata/editions.json) |
| Implements | IAgentFactory, IAgentMetadata, IAgentExperimental |
| SingleInstance | Yes |
| Access | Internal |
| Source file | System Codeunits/Agents/PersonalAgentMetadata.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetDefaultInitials | () | Text[4] | public | 29 | - | - |
| GetFirstTimeSetupPageId | () | Integer | public | 29 | - | - |
| ShowCanCreateAgent | () | Boolean | public | 29 | - | - |
| GetCopilotCapability | () | Enum Copilot Capability | public | 29 | - | - |
| GetDefaultProfile | (var TempAllProfile: Record "All Profile" temporary) | - | public | 29 | - | - |
| GetDefaultAccessControls | (var TempAccessControlBuffer: Record "Access Control Buffer" temporary) | - | public | 29 | - | - |
| GetInitials | (AgentUserId: Guid) | Text[4] | public | 29 | - | - |
| GetSetupPageId | (AgentUserId: Guid) | Integer | public | 29 | - | - |
| GetSummaryPageId | (AgentUserId: Guid) | Integer | public | 29 | - | - |
| IsOptInFeatureEnabled | (AgentUserId: Guid; Feature: Enum "Agent Opt In Feature") | Boolean | public | 29 | - | - |
| GetAgentTaskMessagePageId | (AgentUserId: Guid; MessageId: Guid) | Integer | public | 29 | - | - |
| GetAgentAnnotations | (AgentUserId: Guid; var Annotations: Record "Agent Annotation") | - | public | 29 | - | - |
| GetPageScripts | (AgentUserId: Guid; var AgentTaskPageScript: Record "Agent Task Page Script") | - | public | 29 | - | - |

## Source

Symbols: Microsoft.Platform.symbols, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
