Serverless computing solution for LOB apps

Azure AI services
Azure Cosmos DB
Dynamics 365
Power BI

Solution ideas

This article is a solution idea. If you'd like us to expand the content with more information, such as potential use cases, alternative services, implementation considerations, or pricing guidance, let us know by providing GitHub feedback.

This serverless solution provides an efficient way to manage customer data. Core components include the Azure Cognitive Services Face API, which offers access to facial recognition technology. The solution also includes customer relationship management (CRM) through Dynamics 365 and data analytics through Power BI.

Architecture

Architecture diagram that shows how customer data is sent to an endpoint and added to the Face API, a mailing list, and a database.

Download an SVG of this architecture.

Dataflow

  1. Information about a new customer is posted to a web endpoint.
  2. The customer's photo is posted to the Cognitive Services Face API, where the image is linked to the customer's name.
  3. The customer information is recorded in a CRM system such as Dynamics 365.
  4. The customer information is sent to Power BI.
  5. The customer information is added to a MailChimp mailing list.
  6. The solution creates a record of the customer in Azure Cosmos DB.

Components

  • Azure API Management creates consistent, modern API gateways for back-end services. Besides accepting API calls and routing them to back ends, this platform also verifies keys, tokens, certificates, and other credentials. API Management also enforces usage quotas and rate limits and logs call metadata.
  • Cognitive Services consists of cloud-based services that provide AI functionality. You can use the REST APIs and client library SDKs to build cognitive intelligence into apps.
  • The Cognitive Services Face API provides access to functionality that detects facial features and attributes. You can also use the API to match images.
  • Dynamics 365 is a portfolio of intelligent applications that businesses can use for enterprise resource planning (ERP) and CRM.
  • Power BI is a collection of software services and apps that provide analytics reporting.
  • Mailchimp is an email marketing platform that provides automation services.
  • Azure Cosmos DB is a globally distributed, multi-model database. With Azure Cosmos DB, your solutions can elastically scale throughput and storage across any number of geographic regions.
  • Azure Functions is a serverless compute platform that you can use to build applications. With Functions, you can use triggers and bindings to react to changes in Azure services.

Scenario details

Serverless architectures, like the one in this solution, offer many benefits. You can build and run applications without having to manage or maintain the underlying infrastructure. As a result, you can dramatically improve developer productivity.

This solution uses a NoSQL database, Azure Cosmos DB. This type of database system is designed to quickly store huge volumes of rapidly changing, unstructured data and make it readily available for search, consolidation, and analysis.

Potential use cases

This solution benefits organizations that manage large volumes of customer data. It's ideal for retail, media and entertainment, and other industries that use service-based subscriptions to stream videos and applications like Office 365 and Adobe.

Next Steps