Question 1
A solution architect is designing an integration between a Power Platform model-driven app and an external, third-party REST API that uses OAuth 2.0 with a client credentials grant flow for authentication. The integration must be highly reliable and support high-throughput updates from Dataverse to the external system. Which architectural pattern should be used to implement this integration?
Answer and explanation
Correct answer: C
This pattern is the most robust and scalable for high-throughput integrations. Using an asynchronous plug-in decouples the Dataverse transaction from the external API call, preventing a slow or failed API call from impacting the user experience in the model-driven app. Azure Service Bus provides a durable queue for messages, ensuring reliability and enabling retry logic. An Azure Function is the ideal compute service to process the queued messages, manage the OAuth 2.0 client credentials flow securely (using Key Vault for secrets), and handle the API calls. This architecture avoids Power Platform API limits and provides superior error handling and scalability compared to a direct Power Automate flow or synchronous plug-in.