web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Many-To-Many Issue in ...
Power Pages
Unanswered

Many-To-Many Issue in Power Pages

(1) ShareShare
ReportReport
Posted on by 2

Im having a real nightmare with setting up a many-to-many relationship between account and contacts and enabling the associated table permission.

 

I've followed this guide to the letter but keep getting the message below on the portal: https://himbap.com/blog/?p=3325

Fhassan_0-1676839786129.png

Its a 500 Internal Server Error if i check the console.

 

 

This is my relationship:

Fhassan_1-1676839869076.png

And this is my table permission:

Fhassan_2-1676839925211.png

 

I have ensured the user is associated with the same web role related to this table permission and i have records tht should be coming through. Any support would be greatly appreciated! 

Categories:
I have the same question (0)
  • Gaborg Profile Picture
    9 on at

    This is a bit old topic, but I have encountered the same issue. This seems to be a bug with Power Pages, which Microsoft would need to resolve. However, I couldn't find any way to report this, so I am hoping that someone from Microsoft is reading this topic and forwards this issue to the developer team 🙂

     

    TL;DR - The Power Pages editor uses the Relationship table name instead of the Relationship name (incorrectly) for N:N relationships, causing the following exception in the portal: Retrieve relationship request failed for relationship name ******* was found at controller: EntityGrid and action: GetSubgridData, Category:Exception, ErrorCategory:ApplicationError". Creating / updating the Table Permission in the Portal Management app resolves the issue, as it uses the correct name.

     

    To resolve the issue, follow these steps:

    1. Make a note, that in the Power Pages editor, when you open the table permission, you see the Relationship table name in the relationship field (in your case it is cr2c5_account_contact).
    2. In Power Pages, choose the Portal Management option in the navigation menu (can be found under the three dots in the left menu).
    3. Choose Table Permissions in the sitemap and find the table permission you have created by its name.
    4. Note that the Dropdown field in the Contact Access Type section is empty.
    5. Open the dropdown and select the correct relationship. Note that when you make the selection, it will show the relationship name instead of the table name (in your case it is cr2c5_Account_Contact with a capital A & C).
    6. Save the changes, go back to Power Pages and Sync the changes to flush the cache of the website.

    Please let me know if this fixed the issue for you as well, but I hope you have been able to find a workaround for the issue since then.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 61

#2
11manish Profile Picture

11manish 38

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard