Common Data Service Web API or Graph API for Common Data Service and Teams integration?

%3CLINGO-SUB%20id%3D%22lingo-sub-1587171%22%20slang%3D%22en-US%22%3ECommon%20Data%20Service%20Web%20API%20or%20Graph%20API%20for%20Common%20Data%20Service%20and%20Teams%20integration%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1587171%22%20slang%3D%22en-US%22%3E%3CP%3EWe're%20looking%20to%20build%20an%20integration%20between%20our%20existing%20web%20app%20(off%20the%20MSFT%20platform)%20and%20both%20the%20Common%20Data%20Service%20and%20Microsoft%20Teams.%26nbsp%3B%20For%20instance%2C%20when%20an%20action%20takes%20place%20on%20our%20web%20app%2C%20we%20want%20a%20record%20to%20be%20created%20in%20a%20CDS%20entity%20and%20we%20want%20a%20notification%20to%20be%20sent%20to%20a%20Microsoft%20Teams%20channel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20what%20we've%20read%2C%20it%20sounds%20like%20the%20best%20approach%20for%20CRUD%20actions%20in%20the%20CDS%20is%20done%20using%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowerapps%2Fdeveloper%2Fcommon-data-service%2Fwebapi%2Foverview%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ECDS%20Web%20API%3C%2FA%3E%2C%20and%20notification%20posts%20to%20Teams%20via%20Microsoft%20Graph.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20that%20sound%20right%3F%26nbsp%3B%20Is%20there%20a%20way%20to%20communicate%20both%20with%20the%20CDS%20and%20Microsoft%20Teams%20through%20one%20API%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1587171%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWeb%20Apps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

We're looking to build an integration between our existing web app (off the MSFT platform) and both the Common Data Service and Microsoft Teams.  For instance, when an action takes place on our web app, we want a record to be created in a CDS entity and we want a notification to be sent to a Microsoft Teams channel.

 

From what we've read, it sounds like the best approach for CRUD actions in the CDS is done using the CDS Web API, and notification posts to Teams via Microsoft Graph.

 

Does that sound right?  Is there a way to communicate both with the CDS and Microsoft Teams through one API?

1 Reply

@cozimek 

Try using Logic App with Common Data Services Connector.

https://docs.microsoft.com/en-us/connectors/commondataservice/ 

When you use Logic apps you have all the connectors at the click of the button - im currently using logic app to integrate Webcon (onpremises workflows) with Teams, Project For Web, Planner, and Outlook