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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function

(1) ShareShare
ReportReport
Posted on by
 
This is so strange, when I first visit this record, everything is normal, but refresh the page to check again, only to report errors, over and over again.I did not find the relevant situation on the document, and the method of reporting errors was also located in the js file, but since it is a system file, I do not know how to modify it properly.
Stack Trace
TypeError: this.dataSet.getDataSetCapabilities is not a function at Mf.generateColumnDefinition (https://bamboo-d365ce-dev.crm5.dynamics.com/%7b638275441870000158%7d/webresources/cc_Microsoft.PowerApps.PowerAppsOneGrid/PowerAppsOneGrid.js:2:2202155) at Mf.generateColumnDefinitions (https://bamboo-d365ce-dev.crm5.dynamics.com/%7b638275441870000158%7d/webresources/cc_Microsoft.PowerApps.PowerAppsOneGrid/PowerAppsOneGrid.js:2:2206955) at new Mf (https://bamboo-d365ce-dev.crm5.dynamics.com/%7b638275441870000158%7d/webresources/cc_Microsoft.PowerApps.PowerAppsOneGrid/PowerAppsOneGrid.js:2:2190819) at zf (https://bamboo-d365ce-dev.crm5.dynamics.com/%7b638275441870000158%7d/webresources/cc_Microsoft.PowerApps.PowerAppsOneGrid/PowerAppsOneGrid.js:2:2227992) at ra (https://content.powerapps.com/resource/uci-infra/scripts/vendor.07658634e8fa94d95fa7b116152658b3.js:9:58877) at Uu (https://content.powerapps.com/resource/uci-infra/scripts/vendor.07658634e8fa94d95fa7b116152658b3.js:9:111313) at El (https://content.powerapps.com/resource/uci-infra/scripts/vendor.07658634e8fa94d95fa7b116152658b3.js:9:98325) at kl (https://content.powerapps.com/resource/uci-infra/scripts/vendor.07658634e8fa94d95fa7b116152658b3.js:9:98253) at xl (https://content.powerapps.com/resource/uci-infra/scripts/vendor.07658634e8fa94d95fa7b116152658b3.js:9:98116) at pl (https://content.powerapps.com/resource/uci-infra/scripts/vendor.07658634e8fa94d95fa7b116152658b3.js:9:95103)
I have the same question (0)
  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    Hi,
     
    Are all records inaccessible, or just this one?
    Does the record belong to a custom entity?
    I noticed that the error message contains "DataSet", which is mentioned in power BI or marketing. It's not directly related to sales, so it's possible that an external data source integrated with sales is triggering the error.
    There are many reasons for the "is not a function" error, so please recheck your steps:
     
    If you are sure that the steps are correct, I suggest you raise a support ticket to Microsoft:
  • Suggested answer
    Community member Profile Picture
    12 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    Try to turn off the App setting "Try the new look and feel (preview)". This solved the problem for me.
  • Community member Profile Picture
    10 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    I am getting the same result on a new custom table I added the control as I would normally but on the new UI it returns the issue but on the old UI it works.
     
    I have logged a call with Microsoft to see what they say.
     
    I will post an update once I get feedback.
  • BenNovak Profile Picture
    19 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    I'm getting this same error but it's only showing for some users.
  • mmbarcafan Profile Picture
    4 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    @Daniel
    Did you get a reply from Microsoft regarding this?
    I am also getting this error on the documents subgrid when the new look is enabled and a sharepoint subgrid is added on the form.
     
  • RikHelsen Profile Picture
    42 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    Question 1 Has anyone found a solution for this? We keep getting random reports of users having these issues. 
     
    Microsoft claims the error only happens when you have the "new look" enabled, to me it seems this is irrelevant so far.
    Refreshing the browser (CTRL-F5) also seems to fix the issue for a while

    Question 2: We are using a little bit of custom code to always show the documents tab on the entity so users don't have to open the "related" menu on a record before being able to go to the documents, but have not been able to confirm that this is part of the issue. Are you using similar code? 
  • JeromeK Profile Picture
    2 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    We also have this same problem, occurring only when the New Look is enabled. A couple of weeks ago it seemed to be fixed, but now it appears again. Ctrl-F5 does not help. Issue was reported several times to Microsoft through the "Provide Feedback to Microsoft" form when reverting back to the old look. 
  • Stephen Pryke Profile Picture
    412 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    Same here - I set up a document tab and a couple of users get the same error.

    The ones who have reported it are using the New Look, but there are other users who have the New Look turned on who don't have an issue (eg I just tested and it's fine for me). I've asked those who get the error with the New Look to confirm it works when they go back to the old UI. 
  • donalmc Profile Picture
    125 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    I started getting this error this week when I do a Ctrl F5 in Edge.
    For me, it is only happening in EU environments, where a fix for No options available in Document Associated Grid (dynamics.com) was supposedly pushed this weekend. I am only seeing the fix for No Options in some EU environments and not in others.
    If I update the subgrid to use the Power Apps Grid, the Refresh error does not happen.
  • Suggested answer
    Community member Profile Picture
    4 on at
    An error occurred in Sales and SharePoint integration:getDataSetCapabilities is not a function
    I was experiencing this same issue on a custom entity form with a documents subgrid. I was able to resolve it by adding the "Power Apps grid control" component to the subgrid in the form editor. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 120

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 120 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans