为 Power Apps 代码应用添加 Dataverse 表,并生成 TypeScript 模型与服务。
该技能材料显示其主要是用于指导向 Power Apps 代码应用添加或创建 Dataverse 表,且系统已标记为 prompt-only、开源。未见其自身要求密钥或声明固定外部端点,但其文档涉及后续通过 Azure CLI 和 Dataverse API 进行认证与远程操作,因此整体以低风险为主,使用时需留意实际接入 Dataverse 时的数据与权限边界。
材料与元数据均表明该技能本身不需要密钥或环境变量;README仅提到在实际 Dataverse 操作时需通过 Azure CLI/Dataverse API 完成认证,这属于外部服务使用流程,而非技能自身收集或存储凭证。
虽然系统标记为 prompt-only 且未声明固定远程端点,但文档明确指导连接用户自有 Dataverse 环境 URL 并查询/创建表,说明预期用途涉及向声明相关的 Microsoft Dataverse 端点发送数据与元数据请求;属功能常规能力,需关注实际上传内容。
依据客观检查项,该技能为纯提示词而非可执行工具;README中的 PowerShell/Azure CLI 命令是操作指引,不代表技能本身在本机自动起进程或执行代码。
技能目标涉及审查现有 Dataverse 表、创建新表、生成模型与服务,并可能查询 Dataverse 数据;这意味着在实际使用场景中会接触业务架构与云端数据模型。材料还提到可能需要 System Administrator/System Customizer 角色,属于较高业务权限,应按最小权限使用。
来源为 GitHub 上的 Microsoft/power-platform-skills 开源仓库,源码可审计,这是明显的降风险因素。虽许可证未声明、star 较少且维护状态未知,存在一定成熟度不确定性,但未见闭源外发、可疑安装脚本或明显供应链红旗。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "add-dataverse" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/code-apps/skills/add-dataverse/SKILL.md 2. 保存为 ~/.claude/skills/add-dataverse/SKILL.md 3. 装好后重载技能,告诉我可以用了
请把 Dataverse 中的 Accounts、Contacts 和 Opportunities 表添加到我的 Power Apps 代码应用中,并生成对应的 TypeScript 模型与数据服务。
已接入所选表,并生成可直接用于查询和调用的 TypeScript 模型与服务代码。
在 Dataverse 中创建一个“项目申请”表,包含申请人、部门、预算、状态和提交时间字段,并将该表加入 Power Apps 代码应用,生成 TypeScript 模型和服务。
新表及字段已创建,并完成应用接入,附带对应的 TypeScript 数据模型与访问服务。
将 Dataverse 的 Cases 表添加到应用中,生成 TypeScript 服务,并示例展示如何按状态筛选记录和读取详细字段。
生成 Cases 表的接入代码,并提供基于服务层的查询示例,便于后续开发数据读取逻辑。
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.
References:
Two paths: existing tables (skip to Step 5) or new tables (full workflow).
Check memory bank for project context. Ask the user:
account, contact, cr123_customentity)If tables already exist: Skip to Step 5.
If creating new tables:
contact for people, account for organizations)EnterPlanMode, present ER model with tables, columns, relationships, and creation orderExitPlanModeSee api-authentication-reference.md for full details.
az account show # Verify Azure CLI logged in
# Find your Dataverse environment URL:
# In make.powerapps.com → Settings → Developer resources → Web API endpoint
# It looks like: https://<org-name>.crm.dynamics.com/api/data/v9.2/
# Use the base URL: https://<org-name>.crm.dynamics.com
$api = Initialize-DataverseApi -EnvironmentUrl "https://<org>.crm.dynamics.com"
$headers = $api.Headers
$baseUrl = $api.BaseUrl
$publisherPrefix = $api.PublisherPrefix
Requires System Administrator or System Customizer security role.
Always query existing tables first before creating:
$existingTables = Invoke-RestMethod -Uri "$baseUrl/EntityDefinitions?`$filter=IsCustomEntity eq true&`$select=SchemaName,LogicalName,DisplayName" -Headers $headers
See table-management-reference.md for Find-SimilarTables, Compare-TableSchemas, and Build-TableNameMapping functions.
Present findings to user with AskUserQuestion:
Get explicit confirmation before creating. Create in dependency order:
Use safe functions from table-management-reference.md:
New-DataverseTableIfNotExistsAdd-DataverseColumnIfNotExistsAdd-DataverseLookupIfNotExists (from data-architecture-reference.md)For each table:
npx power-apps add-data-source -a dataverse -t <table-logical-name>
Can add multiple tables by running the command for each one.
The command generates:
…
对已部署的 Power Pages 站点执行安全扫描并生成通俗风险摘要。
帮助你快速搭建 Power Platform 管道,实现 Power Pages 自动化部署。
检查并配置 Power Pages 站点安全响应头,定位风险并指导修复设置。
对 Power Pages 站点执行端到端安全审查,并汇总生成完整 HTML 报告。
用于对已部署的 Power Pages 网站进行运行时浏览、爬取与接口验证测试。
帮助你将 Power Automate 云端流程接入 Power Pages 站点并生成调用代码
根据数据模型方案为 Power Pages 站点创建 Dataverse 表、字段与关系。
让 AI 连接 Microsoft Dataverse,完成记录查询、新增、更新与删除等日常操作
为 Dataverse 表批量生成示例记录,便于测试和演示 Power Pages 站点。
让你在 Claude 中直接操作 Microsoft Dataverse,完成增删改查、批量处理与元数据查询。
帮助你为 Power Apps 代码应用添加数据源或连接器,并引导到合适操作流程。
帮助开发者用专业技能构建、查询、部署并管理 Microsoft Dataverse 环境