cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
csm
Level: Powered On

CDM API Access

Hello all

 

Is it possible to access a Common Data Model via an API?

 

We would like to automate uploading information to our database from external sources to be used by a PowerApps app.

 

Thanks,

 

Cameron

5 REPLIES 5
DLGross
Level 8

Re: CDM API Access

You can use Flow to do that, see https://powerapps.microsoft.com/en-us/tutorials/data-platform-export-data/

Dean Gross

Office 365- MSCA
SharePoint - MCSE
Microsoft 365 Enterprise Administrator Expert
csm
Level: Powered On

Re: CDM API Access

@DLGross unfortunately that wont work for us as we need to be able to check existing records before adding new ones.

 

DLGross
Level 8

Re: CDM API Access

You may be able to use a Custom flow (to do this use Create from Blank) with a Condition to evaluate the existing data. Depending on the result you could then add the new data

Dean Gross

Office 365- MSCA
SharePoint - MCSE
Microsoft 365 Enterprise Administrator Expert
csm
Level: Powered On

Re: CDM API Access

I've had a look, and dont think I can do what I need with that.

 

Also there is the issue of error handling - there would be no feedback to the trigger if something went wrong.

 

we're working with thousands of records per day so there an't be any manual processes.

 

Surely there must be some type of web API, as the excel add-in must use it to refresh and publish?

csm
Level: Powered On

Re: CDM API Access

Fired up Fiddler to see if I can reverse engineer it.

 

Looks like it used odata specification. 

 

You need a JSON web token to authenticate. See here: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-protocols-openid-co...

 

Will keep trying.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,720)