Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug] Cannot create N:N relations

Open
#365 3 comments 0 reactions 1 assignee View on GitHub

@pavankm is already working on this.

Since Jun 19, 2026.

Assessment

This issue has not been assessed yet.

Description

bug product team investigating

Describe the bug

For an N:N relationship, the CLI allows to add the intersect table as a source. The generated service includes the usual methods. Attempting to create a new relation using the create() method fails. Reading with getAll() works.

Code Apps documentation doesn't mention any limitations or recommendations around N:N relationships (that I could find).

Steps to Reproduce

  1. pac code add-data-source -a dataverse -t <intersect-table-logical-name>
  2. Try to create a record using the generated service
  3. See error

Expected behavior

New record created in intersect table.

Actual behavior

Request fails with error message.

Screenshots or Error Messages

{
    "code": "0x80040800",
    "message": "The 'Create' method does not support entities of type '<intersect-table-logical-name>'. MessageProcessorCache returned MessageProcessor.Empty. ",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey": "Api/PrePipeline",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey": "00000000-0000-0000-0000-000000000000",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey": "0",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey": "f6d0c6ea-45b8-4a23-b60b-4d21ad628ce6",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey": "System",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey": "System",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory": "ClientError",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMessageName": "SdkEntityDoesNotSupportMessage",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode": "400",
    "@Microsoft.PowerApps.CDS.HelpLink": "http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040800&client=platform",
    "@Microsoft.PowerApps.CDS.InnerError.Message": "The 'Create' method does not support entities of type '<intersect-table-logical-name>'. MessageProcessorCache returned MessageProcessor.Empty. "
}

Environment information

  • pac v2.7.4+g06bb2eb
Dominant language
TypeScript
Stars
504
Forks
145
Avg merge
4h 3m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/PowerAppsCodeApps

All issues in microsoft/PowerAppsCodeApps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.