I am trying to build a PowerApp to display data from SalesForce. I am trying to pull Accounts, Opportunities, Contacts and Activity History. i am able to get all objects except Activity History. When I try to set data source to Activity History table, it gives me error - entity type activityhistory does not support query.
I found that, there is way to get 'ActivityHistories' from Accounts object using SOQL. I tried to Lookup a particular Account and checked if I can see any field/object for 'ActivityHistories', but I did not see anything related to ActivityHistories. I also checked youtube videos for PowerApps SalesForce connector, but could not find a way to get Activity History.
Please provide me some guidance to resolve this issue. Thanks in advance.