[Bug] Dataverse table alias is ambiguous and native CRUD returns OperationNotFound
@tonystevenj ya está trabajando en esto.
Desde el 13/10/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Comienza con plugins/microsoft-managed-apps/shared/connector-reference.md y reproduce el comando ms app add data-source usando el alias documentado. Después, sigue getClient(dataSources), los metadatos del conector generados y las llamadas a retrieveRecordAsync/createRecordAsync. El trabajo estará terminado cuando el alias se resuelva sin ambigüedad y native CRUD deje de devolver OperationNotFound para una tabla de Dataverse vinculada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
The documented tabular Dataverse command cannot be selected with Managed Apps CLI 0.23.0. The repository documentation says to use --connector dataverse --as table, but the CLI resolves dataverse to two connectors with the same display name and exits as ambiguous. Binding tables through shared_commondataserviceforapps succeeds, but native getClient(dataSources) CRUD calls then fail in App Player with OperationNotFound.
Steps to Reproduce
- Create or initialize a Managed App in an environment with Dataverse.
- Create a custom Dataverse table, for example
sample_order. - Run:
ms app add data-source `
--connector dataverse `
--as table `
--table sample_order `
--skip-codegen `
--non-interactive `
--json
- The CLI exits with:
Multiple connectors match 'dataverse'. Specify the connector ID directly:
shared_commondataservice (Microsoft Dataverse)
shared_commondataserviceforapps (Microsoft Dataverse)
- Use the current-environment connector as a workaround:
ms app add data-source `
--connector shared_commondataserviceforapps `
--as table `
--dataverse-environment-id <environment-id> `
--table sample_order
- Call native CRUD from the app:
const client = getClient(dataSources)
await client.createRecordAsync('sample_order', record)
Expected behavior
--connector dataverse --as table should resolve the dedicated tabular Dataverse data source described in plugins/microsoft-managed-apps/shared/connector-reference.md, bind the active environment without a connection ID, and generate metadata that native CRUD can execute.
Actual behavior
The alias is ambiguous because ms connector list exposes only shared_commondataservice and shared_commondataserviceforapps, both named Microsoft Dataverse.
Using shared_commondataserviceforapps generates a Dataverse table entry and dataset binding, but App Player native CRUD fails before reaching Dataverse:
{
"error": {
"path": "",
"source": "configuration",
"message": "Unable to match incoming request to an operation.",
"reason": "OperationNotFound"
}
}
The generated connector metadata has an empty version, so native CRUD constructs a dataset/table URL for which the runtime cannot match an operation. The failure affects both createRecordAsync and the preceding retrieveRecordAsync reconciliation calls.
Environment information
- Managed Apps CLI:
0.23.0(latestnpm dist-tag on September 10, 2026) - Node.js:
v26.7.0 - npm:
11.19.0 - OS: Windows
- Framework: React 19, TypeScript, Vite 8
- Connector: Microsoft Dataverse
- Enterprise network: Yes
Additional context
The repository documentation currently states that the tabular Dataverse connector is --connector dataverse and does not use the connection-id model. That command is not reachable unambiguously in CLI 0.23.0. shared_commondataservice exposes legacy tabular operations such as PostItem_V2, while shared_commondataserviceforapps exposes current-environment actions such as CreateRecord; neither provides the documented dedicated connector identifier through ms connector list.
- Lenguaje dominante
- TypeScript
- Estrellas
- 27
- Forks
- 8
- Merge medio
- 6 h 59 min
- PR fusionados (30 d)
- 5
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/managed-apps
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
microsoft/managed-apps#42 ·
-
[Bug] RouteNotFoundAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
microsoft/managed-apps#41 ·
-
[Bug] Device-code sign-in fails with post_request_failed: invalid_client in CLI 0.27.0–0.29.0Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
microsoft/managed-apps#39 ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
microsoft/managed-apps#31 ·
Todos los issues de microsoft/managed-apps
Issues similares
-
area: repo priority: P2 type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
appandflow/stim#4107 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 1-3 horas Aptitud para principiantes 60/100
lingdojo/kana-dojo#32859 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
code-quality refactoring
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
github/gh-aw-firewall#10364 ·
Los mantenedores suelen responder en 1 día
-
Merge the duplicate kaffir_corn record into sorghumPosiblemente ocupada @Crypto-Shroom la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Crypto-Shroom/Bird-Feed-Calculator#322 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
drizzle-team/drizzle-orm#6552 ·
Los mantenedores suelen responder en 2 días